diff options
author | Jiri Olsa <[email protected]> | 2023-08-09 10:34:17 +0200 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2023-08-21 15:51:25 -0700 |
commit | b733eeade4204423711793595c3c8d78a2fa8b2e (patch) | |
tree | a3bcec5145f10a15ebfca117823318529167f6f8 /tools/perf/scripts/python/stackcollapse.py | |
parent | 0b779b61f651851df5c5c42938a6c441eb1b5100 (diff) |
bpf: Add pid filter support for uprobe_multi link
Adding support to specify pid for uprobe_multi link and the uprobes
are created only for task with given pid value.
Using the consumer.filter filter callback for that, so the task gets
filtered during the uprobe installation.
We still need to check the task during runtime in the uprobe handler,
because the handler could get executed if there's another system
wide consumer on the same uprobe (thanks Oleg for the insight).
Cc: Oleg Nesterov <[email protected]>
Reviewed-by: Oleg Nesterov <[email protected]>
Signed-off-by: Jiri Olsa <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions