Home
last modified time | relevance | path

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

12

/linux-6.15/tools/testing/selftests/ftrace/test.d/dynevent/
H A Dadd_remove_uprobe.tc20 test -d events/uprobes/myevent
22 echo 1 > events/uprobes/myevent/enable
24 echo 0 > events/uprobes/myevent/enable
/linux-6.15/tools/perf/
H A 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.15/tools/perf/arch/powerpc/util/
H A 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.15/Documentation/trace/
H A 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.15/kernel/trace/
H A Dbpf_trace.c3151 struct bpf_uprobe *uprobes; member
3166 uprobe_unregister_nosync(uprobes[i].uprobe, &uprobes[i].consumer); in bpf_uprobe_unregister()
3188 kvfree(umulti_link->uprobes); in bpf_uprobe_multi_link_dealloc()
3430 uprobes = kvcalloc(cnt, sizeof(*uprobes), GFP_KERNEL); in bpf_uprobe_multi_link_attach()
3432 if (!uprobes || !link) in bpf_uprobe_multi_link_attach()
3440 if (uprobes[i].offset < 0) { in bpf_uprobe_multi_link_attach()
3453 uprobes[i].link = link; in bpf_uprobe_multi_link_attach()
3460 uprobes[i].session = true; in bpf_uprobe_multi_link_attach()
3466 link->uprobes = uprobes; in bpf_uprobe_multi_link_attach()
3476 uprobes[i].offset, in bpf_uprobe_multi_link_attach()
[all …]
H A DKconfig765 bool "Enable uprobes-based dynamic events"
777 events interface. Those events can be inserted wherever uprobes
/linux-6.15/tools/perf/util/
H A Dprobe-event.c397 bool uprobes) in find_alternative_probe_point() argument
415 if (uprobes) { in find_alternative_probe_point()
1992 if (tev->uprobes) { in parse_probe_trace_command()
2264 if (tev->uprobes) in synthesize_probe_trace_command()
2473 dst->uprobes = src->uprobes; in perf_probe_event__copy()
3234 if (pev->uprobes) { in find_probe_trace_events_from_map()
3246 tev->uprobes = pev->uprobes; in find_probe_trace_events_from_map()
3320 tev->uprobes = pev->uprobes; in try_to_find_absolute_address()
3560 tev->uprobes = pev->uprobes; in find_probe_trace_events_from_cache()
3576 if (!pev->uprobes) { in convert_to_probe_trace_events()
[all …]
H A Dprobe-event.h62 bool uprobes; /* uprobes only */ member
101 bool uprobes; /* Uprobe event flag */ member
/linux-6.15/kernel/events/
H A DMakefile6 obj-$(CONFIG_UPROBES) += uprobes.o
/linux-6.15/arch/arm64/kernel/probes/
H A DMakefile5 obj-$(CONFIG_UPROBES) += uprobes.o decode-insn.o \
/linux-6.15/arch/arm/probes/
H A DMakefile2 obj-$(CONFIG_UPROBES) += decode.o decode-arm.o uprobes/
/linux-6.15/tools/lib/bpf/
H A Dusdt.c818 } *uprobes; member
834 bpf_link__destroy(usdt_link->uprobes[i].link); in bpf_link_usdt_detach()
844 &usdt_link->uprobes[i].abs_ip); in bpf_link_usdt_detach()
888 free(usdt_link->uprobes); in bpf_link_usdt_dealloc()
1025 link->uprobes = calloc(target_cnt, sizeof(*link->uprobes)); in usdt_manager_attach_usdt()
1026 if (!link->uprobes) { in usdt_manager_attach_usdt()
1086 link->uprobes[i].link = uprobe_link; in usdt_manager_attach_usdt()
1087 link->uprobes[i].abs_ip = target->abs_ip; in usdt_manager_attach_usdt()
/linux-6.15/arch/csky/kernel/probes/
H A DMakefile5 obj-$(CONFIG_UPROBES) += uprobes.o decode-insn.o simulate-insn.o
/linux-6.15/arch/riscv/kernel/probes/
H A DMakefile4 obj-$(CONFIG_UPROBES) += uprobes.o decode-insn.o simulate-insn.o
/linux-6.15/Documentation/features/debug/uprobes/
H A Darch-support.txt2 # Feature name: uprobes
/linux-6.15/tools/testing/selftests/mseal_system_mappings/
H A Dsysmap_is_sealed.c98 FIXTURE_VARIANT_ADD(basic, uprobes) { in FIXTURE_VARIANT_ADD() argument
/linux-6.15/arch/loongarch/kernel/
H A DMakefile77 obj-$(CONFIG_UPROBES) += uprobes.o
/linux-6.15/arch/s390/kernel/
H A DMakefile71 obj-$(CONFIG_UPROBES) += uprobes.o
/linux-6.15/arch/sparc/kernel/
H A DMakefile121 obj-$(CONFIG_UPROBES) += uprobes.o
/linux-6.15/arch/mips/kernel/
H A DMakefile106 obj-$(CONFIG_UPROBES) += uprobes.o
/linux-6.15/arch/x86/kernel/
H A DMakefile141 obj-$(CONFIG_UPROBES) += uprobes.o
/linux-6.15/arch/powerpc/kernel/
H A DMakefile141 obj-$(CONFIG_UPROBES) += uprobes.o
/linux-6.15/Documentation/userspace-api/
H A Dmseal.rst135 vvar_vclock, vectors (arm compat-mode), sigpage (arm compat-mode), uprobes.
/linux-6.15/security/
H A DKconfig62 vectors (arm compat-mode), sigpage (arm compat-mode), uprobes.
/linux-6.15/Documentation/admin-guide/sysctl/
H A Dnet.rst56 as networking (e.g. XDP, tc), tracing (e.g. kprobes, uprobes, tracepoints)

12