Jonathan Lemon a61daaf351 bpf: Use thread_group_leader()
Instead of directly comparing task->tgid and task->pid, use the
thread_group_leader() helper.  This helps with readability, and
there should be no functional change.

Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20201218185032.2464558-3-jonathan.lemon@gmail.com
2020-12-24 02:04:53 +01:00
..
2020-12-24 02:04:53 +01:00
2020-11-24 16:47:49 +01:00
2020-12-14 17:34:12 -08:00
2020-09-11 09:33:54 -07:00
2020-12-15 14:02:26 -08:00
2020-12-14 18:29:11 -08:00
2020-12-14 18:29:11 -08:00
2020-12-14 18:29:11 -08:00
2020-12-15 13:22:29 -08:00
\n
2020-08-06 19:29:51 -07:00
2020-08-26 09:10:39 -04:00
2020-12-14 18:29:11 -08:00
2020-12-15 13:22:29 -08:00
2020-12-09 17:08:45 +01:00
2020-12-11 14:02:14 -08:00
2020-12-14 16:40:27 -08:00
2020-11-14 11:26:04 -08:00
2020-12-14 16:40:27 -08:00
2020-12-14 16:40:27 -08:00
2020-07-27 14:31:12 -04:00
2020-12-01 10:30:28 +00:00
2020-12-14 16:40:27 -08:00
2020-08-19 14:14:12 +02:00
2020-07-07 11:58:59 -05:00
2020-08-19 14:13:20 +02:00