diff options
author | Jordan Rome <linux@jordanrome.com> | 2024-10-17 00:00:48 +0300 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2024-10-17 20:52:18 +0300 |
commit | ee8c7c6c3f8c7105b1f2e0ba321c193e9f0158d9 (patch) | |
tree | db79e2f56b03860b4cdfde1626794b2da00711d1 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 9495a5b731fcaf580448a3438d63601c88367661 (diff) | |
download | linux-ee8c7c6c3f8c7105b1f2e0ba321c193e9f0158d9.tar.xz |
bpf: Properly test iter/task tid filtering
Previously test_task_tid was setting `linfo.task.tid`
to `getpid()` which is the same as `gettid()` for the
parent process. Instead create a new child thread
and set `linfo.task.tid` to `gettid()` to make sure
the tid filtering logic is working as expected.
Signed-off-by: Jordan Rome <linux@jordanrome.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20241016210048.1213935-2-linux@jordanrome.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions