All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] perf probe, tracing/uprobes: Support probing at absolute address
@ 2015-08-26  7:40 Wang Nan
  2015-08-26  7:40 ` [PATCH v2 1/4] perf probe: Prevent segfault when reading probe point with " Wang Nan
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Wang Nan @ 2015-08-26  7:40 UTC (permalink / raw)
  To: acme, masami.hiramatsu.pt, rostedt
  Cc: mingo, namhyung, pi3orama, linux-kernel

The goal of these 4 patches is to allow perf probing at absolute address
for uprobes and kprobes. During the development several small problem in
'perf probe -l' is found and fixed.

Patch 1 has already acked by Masami Hiramatsu.

Patch 2 fixes a problem about zero address in perf side.

Patch 3 is the main patch of these 4. It allows following command:

 # perf probe /lib/x86_64-linux-gnu/libc-2.19.so 0xeb860

 Different from v1, no extra '+' is required.

Patch 4 is a kernel side patch which fixes a small problem in uprobe_event
that, if address is 0, uprobe_events reports '0x  (null)'. It is independent
from the other patches.

Wang Nan (4):
  perf probe: Prevent segfault when reading probe point with absolute
    address
  perf probe: Fix list result when address is zero
  perf probe: Support probing at absolute address
  tracing/uprobes: Do not print '0x  (null)' when offset is 0

 kernel/trace/trace_uprobe.c    |  17 +++-
 tools/perf/util/probe-event.c  | 210 +++++++++++++++++++++++++++++++++++++----
 tools/perf/util/probe-event.h  |   4 +
 tools/perf/util/probe-finder.c |  21 +----
 4 files changed, 216 insertions(+), 36 deletions(-)

-- 
1.8.3.4


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-08-26 10:48 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-26  7:40 [PATCH v2 0/4] perf probe, tracing/uprobes: Support probing at absolute address Wang Nan
2015-08-26  7:40 ` [PATCH v2 1/4] perf probe: Prevent segfault when reading probe point with " Wang Nan
2015-08-26  7:40 ` [PATCH v2 2/4] perf probe: Fix list result when address is zero Wang Nan
2015-08-26  9:29   ` 平松雅巳 / HIRAMATU,MASAMI
2015-08-26  9:43     ` Wangnan (F)
2015-08-26 10:48       ` 平松雅巳 / HIRAMATU,MASAMI
2015-08-26  7:40 ` [PATCH v2 3/4] perf probe: Support probing at absolute address Wang Nan
2015-08-26  9:49   ` 平松雅巳 / HIRAMATU,MASAMI
2015-08-26  7:40 ` [PATCH v2 4/4] tracing/uprobes: Do not print '0x (null)' when offset is 0 Wang Nan
2015-08-26 10:00   ` 平松雅巳 / HIRAMATU,MASAMI
2015-08-26  9:12 ` [PATCH v2 0/4] perf probe, tracing/uprobes: Support probing at absolute address 平松雅巳 / HIRAMATU,MASAMI

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.