Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/ftrace/test.d/dynevent/
H A Dadd_remove_uprobe.tc14 test -d events/uprobes/myevent
16 echo 1 > events/uprobes/myevent/enable
18 echo 0 > events/uprobes/myevent/enable
/linux/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/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/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/tools/perf/util/
H A Dprobe-event.c393 bool uprobes) in find_alternative_probe_point() argument
411 if (uprobes) { in find_alternative_probe_point()
1955 if (tev->uprobes) { in parse_probe_trace_command()
2227 if (tev->uprobes) in synthesize_probe_trace_command()
2436 dst->uprobes = src->uprobes; in perf_probe_event__copy()
3167 if (pev->uprobes) { in find_probe_trace_events_from_map()
3179 tev->uprobes = pev->uprobes; in find_probe_trace_events_from_map()
3253 tev->uprobes = pev->uprobes; in try_to_find_absolute_address()
3493 tev->uprobes = pev->uprobes; in find_probe_trace_events_from_cache()
3509 if (!pev->uprobes) { in convert_to_probe_trace_events()
[all …]
H A Dprobe-event.h61 bool uprobes; /* uprobes only */ member
100 bool uprobes; /* Uprobe event flag */ member
H A Dprobe-finder.c875 if (!pf->pev->uprobes) in skip_prologue()
/linux/kernel/trace/
H A Dbpf_trace.c3084 struct bpf_uprobe *uprobes; member
3099 uprobe_unregister_nosync(uprobes[i].uprobe, &uprobes[i].consumer); in bpf_uprobe_unregister()
3121 kvfree(umulti_link->uprobes); in bpf_uprobe_multi_link_dealloc()
3351 uprobes = kvcalloc(cnt, sizeof(*uprobes), GFP_KERNEL); in bpf_uprobe_multi_link_attach()
3353 if (!uprobes || !link) in bpf_uprobe_multi_link_attach()
3361 if (uprobes[i].offset < 0) { in bpf_uprobe_multi_link_attach()
3374 uprobes[i].link = link; in bpf_uprobe_multi_link_attach()
3386 link->uprobes = uprobes; in bpf_uprobe_multi_link_attach()
3396 uprobes[i].offset, in bpf_uprobe_multi_link_attach()
3398 &uprobes[i].consumer); in bpf_uprobe_multi_link_attach()
[all …]
H A DKconfig734 bool "Enable uprobes-based dynamic events"
746 events interface. Those events can be inserted wherever uprobes
/linux/kernel/events/
H A DMakefile6 obj-$(CONFIG_UPROBES) += uprobes.o
/linux/arch/arm64/kernel/probes/
H A DMakefile5 obj-$(CONFIG_UPROBES) += uprobes.o decode-insn.o \
/linux/arch/arm/probes/
H A DMakefile2 obj-$(CONFIG_UPROBES) += decode.o decode-arm.o uprobes/
/linux/tools/lib/bpf/
H A 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/arch/csky/kernel/probes/
H A DMakefile5 obj-$(CONFIG_UPROBES) += uprobes.o decode-insn.o simulate-insn.o
/linux/arch/riscv/kernel/probes/
H A DMakefile4 obj-$(CONFIG_UPROBES) += uprobes.o decode-insn.o simulate-insn.o
/linux/Documentation/features/debug/uprobes/
H A Darch-support.txt2 # Feature name: uprobes
/linux/arch/loongarch/kernel/
H A DMakefile77 obj-$(CONFIG_UPROBES) += uprobes.o
/linux/arch/s390/kernel/
H A DMakefile70 obj-$(CONFIG_UPROBES) += uprobes.o
/linux/arch/sparc/kernel/
H A DMakefile121 obj-$(CONFIG_UPROBES) += uprobes.o
/linux/arch/mips/kernel/
H A DMakefile106 obj-$(CONFIG_UPROBES) += uprobes.o
/linux/arch/x86/kernel/
H A DMakefile138 obj-$(CONFIG_UPROBES) += uprobes.o
/linux/arch/powerpc/kernel/
H A DMakefile141 obj-$(CONFIG_UPROBES) += uprobes.o
/linux/Documentation/admin-guide/sysctl/
H A Dnet.rst56 as networking (e.g. XDP, tc), tracing (e.g. kprobes, uprobes, tracepoints)
/linux/
H A DMAINTAINERS23866 F: arch/*/include/asm/uprobes.h
23867 F: arch/*/kernel/probes/uprobes.c
23868 F: arch/*/kernel/uprobes.c
23869 F: include/linux/uprobes.h
23870 F: kernel/events/uprobes.c