This answer isn't always true -- specifically if reading the `event_data` field from linux/proc.sh. Confusingly, _pid refers to the `thread` id, and _tgid is the actual pid id. (see https://listman.redhat.com/archives/phil-list/2002-December/msg00020.html)
– gerardwMar 02 '19 at 18:28