diff options
author | Jiri Olsa <[email protected]> | 2023-08-09 10:34:15 +0200 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2023-08-21 15:51:25 -0700 |
commit | 89ae89f53d201143560f1e9ed4bfa62eee34f88e (patch) | |
tree | b680709faee23188f4549c78679a527401dd8d17 /tools/perf/scripts/python/stackcollapse.py | |
parent | 3505cb9fa26cfec9512744466e754a8cbc2365b0 (diff) |
bpf: Add multi uprobe link
Adding new multi uprobe link that allows to attach bpf program
to multiple uprobes.
Uprobes to attach are specified via new link_create uprobe_multi
union:
struct {
__aligned_u64 path;
__aligned_u64 offsets;
__aligned_u64 ref_ctr_offsets;
__u32 cnt;
__u32 flags;
} uprobe_multi;
Uprobes are defined for single binary specified in path and multiple
calling sites specified in offsets array with optional reference
counters specified in ref_ctr_offsets array. All specified arrays
have length of 'cnt'.
The 'flags' supports single bit for now that marks the uprobe as
return probe.
Acked-by: Andrii Nakryiko <[email protected]>
Acked-by: Yafang Shao <[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