diff options
author | Jordan Rome <linux@jordanrome.com> | 2024-10-17 00:00:47 +0300 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2024-10-17 20:52:18 +0300 |
commit | 9495a5b731fcaf580448a3438d63601c88367661 (patch) | |
tree | d960fbc1d14c69b8f6954df74fa7621bbe888ffb /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | e59db0623f6955986d1be0880b351a1f56e7fd6d (diff) | |
download | linux-9495a5b731fcaf580448a3438d63601c88367661.tar.xz |
bpf: Fix iter/task tid filtering
In userspace, you can add a tid filter by setting
the "task.tid" field for "bpf_iter_link_info".
However, `get_pid_task` when called for the
`BPF_TASK_ITER_TID` type should have been using
`PIDTYPE_PID` (tid) instead of `PIDTYPE_TGID` (pid).
Fixes: f0d74c4da1f0 ("bpf: Parameterize task iterators.")
Signed-off-by: Jordan Rome <linux@jordanrome.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20241016210048.1213935-1-linux@jordanrome.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions