]> git.karo-electronics.de Git - karo-tx-linux.git/commit
perf: perf interface for uprobes
authorSrikar Dronamraju <srikar@linux.vnet.ibm.com>
Wed, 7 Dec 2011 10:15:58 +0000 (15:45 +0530)
committerSrikar Dronamraju <srikar@linux.vnet.ibm.com>
Sun, 18 Dec 2011 06:22:57 +0000 (11:52 +0530)
commit1b467881de80c23152647e7938b6515daa69c57a
tree624c444ebeba60fb46d6842ed188c6155b148305
parent9b6b4a2c92ff85ff15630652b07bfd4aeb40224e
perf: perf interface for uprobes

 - Enhances perf probe to user space executables and libraries.
 - Enhances -F/--funcs option of "perf probe" to list possible probe points in
   an executable file or library.
 - Documents userspace probing support in perf.

[ Probing a function in the executable using function name  ]
perf probe -x /bin/zsh zfree

[ Probing a library function using function name ]
perf probe -x /lib64/libc.so.6 malloc

[ list probe-able functions in an executable ]
perf probe -F -x /bin/zsh

[ list probe-able functions in an library]
perf probe -F -x /lib/libc.so.6

Signed-off-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
tools/perf/Documentation/perf-probe.txt
tools/perf/builtin-probe.c
tools/perf/util/probe-event.c
tools/perf/util/probe-event.h
tools/perf/util/symbol.c
tools/perf/util/symbol.h