aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2024-04-30 13:28:26 +0200
committerAndrii Nakryiko <[email protected]>2024-04-30 09:45:53 -0700
commit5c919acef85147886eb2abf86fb147f94680a8b0 (patch)
tree045b9f1176ff8ddecdf9fe1b31f2b7e19aa4aa16 /tools/perf/scripts/python/bin
parentadf46d88ae4b2557f7e2e02547a25fb866935711 (diff)
bpf: Add support for kprobe session cookie
Adding support for cookie within the session of kprobe multi entry and return program. The session cookie is u64 value and can be retrieved be new kfunc bpf_session_cookie, which returns pointer to the cookie value. The bpf program can use the pointer to store (on entry) and load (on return) the value. The cookie value is implemented via fprobe feature that allows to share values between entry and return ftrace fprobe callbacks. Signed-off-by: Jiri Olsa <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions