summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJordan Rome <linux@jordanrome.com>2024-10-17 00:00:47 +0300
committerAndrii Nakryiko <andrii@kernel.org>2024-10-17 20:52:18 +0300
commit9495a5b731fcaf580448a3438d63601c88367661 (patch)
treed960fbc1d14c69b8f6954df74fa7621bbe888ffb /tools/perf/scripts/python/exported-sql-viewer.py
parente59db0623f6955986d1be0880b351a1f56e7fd6d (diff)
downloadlinux-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