Home
last modified time | relevance | path

Searched refs:uprobe (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/kernel/events/
Duprobes.c67 struct uprobe { struct
373 static struct uprobe *get_uprobe(struct uprobe *uprobe) in get_uprobe() argument
375 atomic_inc(&uprobe->ref); in get_uprobe()
376 return uprobe; in get_uprobe()
379 static void put_uprobe(struct uprobe *uprobe) in put_uprobe() argument
381 if (atomic_dec_and_test(&uprobe->ref)) in put_uprobe()
382 kfree(uprobe); in put_uprobe()
385 static int match_uprobe(struct uprobe *l, struct uprobe *r) in match_uprobe()
402 static struct uprobe *__find_uprobe(struct inode *inode, loff_t offset) in __find_uprobe()
404 struct uprobe u = { .inode = inode, .offset = offset }; in __find_uprobe()
[all …]
/Linux-v4.19/Documentation/trace/
Duprobetracer.rst18 However unlike kprobe-event tracer, the uprobe event interface expects the
25 p[:[GRP/]EVENT] PATH:OFFSET [FETCHARGS] : Set a uprobe
26 r[:[GRP/]EVENT] PATH:OFFSET [FETCHARGS] : Set a return uprobe (uretprobe)
27 -:[GRP/]EVENT : Clear uprobe or uretprobe event
79 * Add a probe as a new uprobe event, write a new definition to uprobe_events
80 as below (sets a uprobe at an offset of 0x4245c0 in the executable /bin/bash)::
110 0x00400000. Hence the command to uprobe would be::
171 Output shows us uprobe was triggered for a pid 24842 with ip being 0x446420
/Linux-v4.19/include/linux/
Duprobes.h89 struct uprobe *active_uprobe;
97 struct uprobe *uprobe; member
/Linux-v4.19/tools/bpf/bpftool/Documentation/
Dbpftool-perf.rst66 pid 21800 fd 5: prog_id 9 uprobe filename /home/yhs/a.out offset 1159
76 {"pid":21800,"fd":5,"prog_id":9,"fd_type":"uprobe","filename":"/home/yhs/a.out","offset":1159}]
/Linux-v4.19/tools/perf/util/
Dprobe-file.c42 static void print_open_warning(int err, bool uprobe) in print_open_warning() argument
49 if (uprobe) in print_open_warning()
56 uprobe ? 'u' : 'k', config); in print_open_warning()
61 uprobe ? 'u' : 'k', in print_open_warning()
Dprobe-event.c803 bool uprobe, struct debuginfo *dinfo) in post_process_probe_trace_events() argument
807 if (uprobe) in post_process_probe_trace_events()
2701 static int __open_probe_file_and_namelist(bool uprobe, in __open_probe_file_and_namelist() argument
2706 fd = probe_file__open(PF_FL_RW | (uprobe ? PF_FL_UPROBE : 0)); in __open_probe_file_and_namelist()
/Linux-v4.19/tools/perf/Documentation/
Dperf-buildid-cache.txt74 used when creating a uprobe for a process that resides in a
Dperf-probe.txt135 used when creating a uprobe for a process that resides in a
173 …p name by 'GROUP', if omitted, set 'probe' is used for kprobe and 'probe_<bin>' is used for uprobe.
280 Add a uprobe to a target process running in a different mount namespace