public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] perf/ftrace: Introduce hexadecimal type casting
@ 2016-08-18  8:57 Masami Hiramatsu
  2016-08-18  8:57 ` [PATCH 1/6] ftrace: kprobe: uprobe: Add x8/x16/x32/x64 for hexadecimal types Masami Hiramatsu
                   ` (7 more replies)
  0 siblings, 8 replies; 23+ messages in thread
From: Masami Hiramatsu @ 2016-08-18  8:57 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo, Steven Rostedt
  Cc: Masami Hiramatsu, linux-kernel, Peter Zijlstra, Ingo Molnar,
	Naohiro Aota, Alexander Shishkin, Wang Nan, Hemant Kumar

Hi Arnaldo and Steven,

Here is an RFC series of hexadecimal type casting and
changing default type casting of perf and ftrace.

I've introduced x8,x16,x32,x64 according to previous
discussion on LKML.
  https://lkml.org/lkml/2016/8/10/339

This series includes not only adding hexadecimal types
(x8,x16,x32,x64), but also checking it is supported by
running kernel and keeping the backward compativility.

[1/6] Add hexadecimal type casting, but does not touch
   existing types like 'u8'.
[2/6] Show the supported types on README of ftrace so
   that user application (e.g. perf) can check that.
[3/6] Add a type availability check to perf-probe.
[4/6] Add hexadecimal prefix support to perf-probe if
   it is supported by the kernel. 
[5/6] Change the perf-probe default type casting for
   unsigned type to hexadecimal (for backward compatibility)
[6/6] Change ftrace's 'uNN' to show value in decimal
   and use 'xNN' by default (for backward compatibility)

This way, we can also add "octal" type, pointer type,
and "character" type etc. and perf can check whether
the kernel supports it or not. :)

Thanks,
---

Masami Hiramatsu (6):
      ftrace: kprobe: uprobe: Add x8/x16/x32/x64 for hexadecimal types
      ftrace: probe: Add README entries for k/uprobe-events
      perf probe: Add supported type casting of running kernel
      perf probe: Support hexadecimal casting
      perf-probe: Use hexadecimal type by default if possible
      ftrace: kprobe: uprobe: Show u8/u16/u32/u64 types in decimal


 tools/perf/Documentation/perf-probe.txt |    5 +--
 tools/perf/util/probe-file.c            |   57 +++++++++++++++++++++++++++++++
 tools/perf/util/probe-file.h            |   10 +++++
 tools/perf/util/probe-finder.c          |   19 +++++++---
 4 files changed, 81 insertions(+), 10 deletions(-)

--
Masami Hiramatsu (Linaro Ltd.) <mhiramat@kernel.org>

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

end of thread, other threads:[~2016-08-24  9:47 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-18  8:57 [PATCH 0/6] perf/ftrace: Introduce hexadecimal type casting Masami Hiramatsu
2016-08-18  8:57 ` [PATCH 1/6] ftrace: kprobe: uprobe: Add x8/x16/x32/x64 for hexadecimal types Masami Hiramatsu
2016-08-18 15:38   ` Steven Rostedt
2016-08-24  9:25   ` [tip:perf/core] " tip-bot for Masami Hiramatsu
2016-08-18  8:58 ` [PATCH 2/6] ftrace: probe: Add README entries for k/uprobe-events Masami Hiramatsu
2016-08-18 15:40   ` Steven Rostedt
2016-08-24  9:25   ` [tip:perf/core] " tip-bot for Masami Hiramatsu
2016-08-18  8:58 ` [PATCH 3/6] perf probe: Add supported type casting of running kernel Masami Hiramatsu
2016-08-23 19:45   ` Arnaldo Carvalho de Melo
2016-08-24  9:26   ` [tip:perf/core] perf probe: Add supported for type casting by the " tip-bot for Masami Hiramatsu
2016-08-18  8:58 ` [PATCH 4/6] perf probe: Support hexadecimal casting Masami Hiramatsu
2016-08-24  9:26   ` [tip:perf/core] " tip-bot for Masami Hiramatsu
2016-08-18  8:59 ` [PATCH 5/6] perf-probe: Use hexadecimal type by default if possible Masami Hiramatsu
2016-08-24  9:27   ` [tip:perf/core] perf probe: " tip-bot for Masami Hiramatsu
2016-08-18  8:59 ` [PATCH 6/6] ftrace: kprobe: uprobe: Show u8/u16/u32/u64 types in decimal Masami Hiramatsu
2016-08-18 15:41   ` Steven Rostedt
2016-08-24  9:27   ` [tip:perf/core] " tip-bot for Masami Hiramatsu
2016-08-18 14:14 ` [PATCH 0/6] perf/ftrace: Introduce hexadecimal type casting Arnaldo Carvalho de Melo
2016-08-18 16:01   ` Masami Hiramatsu
2016-08-18 16:13     ` Arnaldo Carvalho de Melo
2016-08-20  3:40       ` Masami Hiramatsu
2016-08-18 16:03 ` Steven Rostedt
2016-08-18 16:08   ` Arnaldo Carvalho de Melo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox