Files
linux-stable-mirror/include/linux
Jiri Olsa 89ae89f53d 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 <andrii@kernel.org>
Acked-by: Yafang Shao <laoar.shao@gmail.com>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20230809083440.3209381-4-jolsa@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2023-08-21 15:51:25 -07:00
..
2023-06-16 12:27:04 -06:00
2023-06-27 10:47:08 -04:00
2023-06-16 10:08:09 -06:00
2023-06-19 16:19:05 -07:00
2023-08-04 11:02:46 +01:00
2023-06-20 20:17:10 -07:00
2023-06-19 15:08:12 -04:00
2023-06-23 16:59:30 -07:00
2023-06-19 16:19:25 -07:00
2023-06-23 16:59:28 -07:00
2023-06-24 15:50:13 -07:00
2023-08-06 08:24:55 +01:00
2023-08-07 17:55:54 +00:00
2023-08-21 15:51:25 -07:00