aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2018-07-21 00:00:29 -0500
committerEric W. Biederman <ebiederm@xmission.com>2018-07-21 10:43:12 -0500
commit2118e1f53f6f0973a1d9a6a7dc9296959bf39ec0 (patch)
tree7ff0387ebe57636883dadc12ef2c596b8681fb94 /tools/perf/scripts/python/export-to-postgresql.py
parentsignal: Use PIDTYPE_TGID to clearly store where file signals will be sent (diff)
downloadwireguard-linux-2118e1f53f6f0973a1d9a6a7dc9296959bf39ec0.tar.xz
wireguard-linux-2118e1f53f6f0973a1d9a6a7dc9296959bf39ec0.zip
posix-timers: Noralize good_sigevent
In good_sigevent directly compute the default return value as "task_tgid(current)". This is exactly the same as "task_pid(current->group_leader)" but written more clearly. In the thread case first compute the thread's pid. Then veify that attached to that pid is a thread of the current thread group. This has the net effect of making the code a little clearer, and making it obvious that posix timers never look up a process by a the pid of a thread. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions