Home
last modified time | relevance | path

Searched refs:uprobes (Results 1 – 22 of 22) sorted by relevance

/linux-6.6.21/tools/perf/
Dbuiltin-probe.c42 bool uprobes; member
64 pev->uprobes = params->uprobes; in parse_probe_event()
125 params->uprobes = true; in set_target()
175 params->uprobes = true; in opt_set_target()
177 params->uprobes = false; in opt_set_target()
182 if (params->uprobes || strchr(str, '/')) { in opt_set_target()
350 ret = init_probe_symbol_maps(pevs->uprobes); in perf_add_probe_events()
681 if (params->uprobes) { in __cmd_probe()
693 params->filter, params->uprobes); in __cmd_probe()
700 params->nsi, params->uprobes); in __cmd_probe()
[all …]
/linux-6.6.21/tools/perf/arch/powerpc/util/
Dsym-handling.c98 if (!pev->uprobes && pev->point.retprobe) { in arch__fix_tev_from_maps()
110 if (pev->uprobes) in arch__fix_tev_from_maps()
127 map = get_target_map(pev->target, pev->nsi, pev->uprobes); in arch__post_process_probe_trace_events()
/linux-6.6.21/Documentation/trace/
Duprobetracer.rst16 /sys/kernel/tracing/events/uprobes/<EVENT>/enable.
34 GRP : Group name. If omitted, "uprobes" is the default value.
133 p:uprobes/zfree_entry /bin/zsh:0x00046420 arg1=%ip arg2=%ax
134 r:uprobes/zfree_exit /bin/zsh:0x00046420 arg1=%ip arg2=%ax
136 Format of events can be seen by viewing the file events/uprobes/zfree_entry/format.
139 # cat events/uprobes/zfree_entry/format
158 # echo 1 > events/uprobes/enable
169 # echo 0 > events/uprobes/enable
/linux-6.6.21/tools/perf/util/
Dprobe-event.c380 bool uprobes) in find_alternative_probe_point() argument
392 map = get_target_map(target, nsi, uprobes); in find_alternative_probe_point()
398 if (uprobes) { in find_alternative_probe_point()
440 pev->nsi, pev->uprobes); in get_alternative_probe_event()
777 tevs[i].uprobes = true; in add_exec_to_probe_trace_events()
954 pev->target, pev->uprobes, dinfo); in try_to_find_probe_trace_events()
1219 ret = init_probe_symbol_maps(pevs->uprobes); in show_available_vars()
1899 tev->uprobes = (tp->module[0] == '/'); in parse_probe_trace_command()
1942 if (tev->uprobes) { in parse_probe_trace_command()
2214 if (tev->uprobes) in synthesize_probe_trace_command()
[all …]
Dprobe-event.h61 bool uprobes; /* uprobes only */ member
100 bool uprobes; /* Uprobe event flag */ member
Dprobe-finder.c995 if (!pf->pev->uprobes) in skip_prologue()
/linux-6.6.21/kernel/trace/
Dbpf_trace.c3041 struct bpf_uprobe *uprobes; member
3051 static void bpf_uprobe_unregister(struct path *path, struct bpf_uprobe *uprobes, in bpf_uprobe_unregister() argument
3057 uprobe_unregister(d_real_inode(path->dentry), uprobes[i].offset, in bpf_uprobe_unregister()
3058 &uprobes[i].consumer); in bpf_uprobe_unregister()
3067 bpf_uprobe_unregister(&umulti_link->path, umulti_link->uprobes, umulti_link->cnt); in bpf_uprobe_multi_link_release()
3078 kvfree(umulti_link->uprobes); in bpf_uprobe_multi_link_dealloc()
3174 struct bpf_uprobe *uprobes = NULL; in bpf_uprobe_multi_link_attach() local
3242 uprobes = kvcalloc(cnt, sizeof(*uprobes), GFP_KERNEL); in bpf_uprobe_multi_link_attach()
3244 if (!uprobes || !link) in bpf_uprobe_multi_link_attach()
3254 if (ucookies && __get_user(uprobes[i].cookie, ucookies + i)) { in bpf_uprobe_multi_link_attach()
[all …]
DKconfig734 bool "Enable uprobes-based dynamic events"
746 events interface. Those events can be inserted wherever uprobes
/linux-6.6.21/kernel/events/
DMakefile6 obj-$(CONFIG_UPROBES) += uprobes.o
/linux-6.6.21/arch/arm64/kernel/probes/
DMakefile5 obj-$(CONFIG_UPROBES) += uprobes.o decode-insn.o \
/linux-6.6.21/arch/arm/probes/
DMakefile2 obj-$(CONFIG_UPROBES) += decode.o decode-arm.o uprobes/
/linux-6.6.21/tools/lib/bpf/
Dusdt.c816 } *uprobes; member
832 bpf_link__destroy(usdt_link->uprobes[i].link); in bpf_link_usdt_detach()
842 &usdt_link->uprobes[i].abs_ip); in bpf_link_usdt_detach()
886 free(usdt_link->uprobes); in bpf_link_usdt_dealloc()
1023 link->uprobes = calloc(target_cnt, sizeof(*link->uprobes)); in usdt_manager_attach_usdt()
1024 if (!link->uprobes) { in usdt_manager_attach_usdt()
1084 link->uprobes[i].link = uprobe_link; in usdt_manager_attach_usdt()
1085 link->uprobes[i].abs_ip = target->abs_ip; in usdt_manager_attach_usdt()
/linux-6.6.21/arch/csky/kernel/probes/
DMakefile5 obj-$(CONFIG_UPROBES) += uprobes.o decode-insn.o simulate-insn.o
/linux-6.6.21/arch/riscv/kernel/probes/
DMakefile5 obj-$(CONFIG_UPROBES) += uprobes.o decode-insn.o simulate-insn.o
/linux-6.6.21/Documentation/features/debug/uprobes/
Darch-support.txt2 # Feature name: uprobes
/linux-6.6.21/arch/loongarch/kernel/
DMakefile72 obj-$(CONFIG_UPROBES) += uprobes.o
/linux-6.6.21/arch/s390/kernel/
DMakefile67 obj-$(CONFIG_UPROBES) += uprobes.o
/linux-6.6.21/arch/sparc/kernel/
DMakefile122 obj-$(CONFIG_UPROBES) += uprobes.o
/linux-6.6.21/arch/mips/kernel/
DMakefile106 obj-$(CONFIG_UPROBES) += uprobes.o
/linux-6.6.21/arch/x86/kernel/
DMakefile131 obj-$(CONFIG_UPROBES) += uprobes.o
/linux-6.6.21/arch/powerpc/kernel/
DMakefile145 obj-$(CONFIG_UPROBES) += uprobes.o
/linux-6.6.21/Documentation/admin-guide/sysctl/
Dnet.rst56 as networking (e.g. XDP, tc), tracing (e.g. kprobes, uprobes, tracepoints)