Re: [RFC 00/14] perf tools: Introduce new 'ftrace' command

2013-04-24 Thread Namhyung Kim
On Wed, 24 Apr 2013 19:15:19 +0800, zhangwei wrote: > On 2013/4/24 17:52, Namhyung Kim wrote: >> I think it'd be great if perf trace can cover both of kernel and user >> spaces. But function tracing in userspace looks impossible IMHO. >> >> So how about changing perf trace to receive proposed

Re: [RFC 00/14] perf tools: Introduce new 'ftrace' command

2013-04-24 Thread Namhyung Kim
Hi Jovi, On Wed, 24 Apr 2013 19:14:49 +0800, zhangwei wrote: > On 2013/4/24 17:27, Namhyung Kim wrote: >>> Also, have you given thought on how to execute both ftrace and the pmu >>> counters? That is, to get a way to interleave the data? >> >> I didn't think about it yet. I just thought

Re: [RFC 00/14] perf tools: Introduce new 'ftrace' command

2013-04-24 Thread zhangwei(Jovi)
On 2013/4/24 17:52, Namhyung Kim wrote: > Hi Ingo, > > On Wed, 24 Apr 2013 08:50:18 +0200, Ingo Molnar wrote: >> * Pekka Enberg wrote: >> >>> Hello, >>> >>> On Tue, 2013-04-23 at 17:30 +0900, Namhyung Kim wrote: > This patchset implements a front-end tool for kernel's ftrace. It > uses

Re: [RFC 00/14] perf tools: Introduce new 'ftrace' command

2013-04-24 Thread zhangwei(Jovi)
On 2013/4/24 17:27, Namhyung Kim wrote: > Hi Steve, > > On Tue, 23 Apr 2013 11:58:01 -0400, Steven Rostedt wrote: >> On Tue, 2013-04-23 at 17:30 +0900, Namhyung Kim wrote: >>> Hello, >>> >>> This patchset implements a front-end tool for kernel's ftrace. It >>> uses function_graph tracer by

Re: [RFC 00/14] perf tools: Introduce new 'ftrace' command

2013-04-24 Thread Namhyung Kim
Hi Ingo, On Wed, 24 Apr 2013 08:50:18 +0200, Ingo Molnar wrote: > * Pekka Enberg wrote: > >> Hello, >> >> On Tue, 2013-04-23 at 17:30 +0900, Namhyung Kim wrote: >> >> This patchset implements a front-end tool for kernel's ftrace. It >> >> uses function_graph tracer by default and normal

Re: [RFC 00/14] perf tools: Introduce new 'ftrace' command

2013-04-24 Thread Namhyung Kim
Hi Pekka, On Tue, 23 Apr 2013 20:19:37 +0300, Pekka Enberg wrote: > Hello, > > On Tue, 2013-04-23 at 17:30 +0900, Namhyung Kim wrote: >>> This patchset implements a front-end tool for kernel's ftrace. It >>> uses function_graph tracer by default and normal function tracer is >>> also supported.

Re: [RFC 00/14] perf tools: Introduce new 'ftrace' command

2013-04-24 Thread Namhyung Kim
Hi Steve, On Tue, 23 Apr 2013 11:58:01 -0400, Steven Rostedt wrote: > On Tue, 2013-04-23 at 17:30 +0900, Namhyung Kim wrote: >> Hello, >> >> This patchset implements a front-end tool for kernel's ftrace. It >> uses function_graph tracer by default and normal function tracer is >> also

Re: [RFC 00/14] perf tools: Introduce new 'ftrace' command

2013-04-24 Thread Ingo Molnar
* Pekka Enberg wrote: > Hello, > > On Tue, 2013-04-23 at 17:30 +0900, Namhyung Kim wrote: > >> This patchset implements a front-end tool for kernel's ftrace. It > >> uses function_graph tracer by default and normal function tracer is > >> also supported. (Of course you need to enable those

Re: [RFC 00/14] perf tools: Introduce new 'ftrace' command

2013-04-24 Thread Ingo Molnar
* Pekka Enberg penb...@kernel.org wrote: Hello, On Tue, 2013-04-23 at 17:30 +0900, Namhyung Kim wrote: This patchset implements a front-end tool for kernel's ftrace. It uses function_graph tracer by default and normal function tracer is also supported. (Of course you need to enable

Re: [RFC 00/14] perf tools: Introduce new 'ftrace' command

2013-04-24 Thread Namhyung Kim
Hi Steve, On Tue, 23 Apr 2013 11:58:01 -0400, Steven Rostedt wrote: On Tue, 2013-04-23 at 17:30 +0900, Namhyung Kim wrote: Hello, This patchset implements a front-end tool for kernel's ftrace. It uses function_graph tracer by default and normal function tracer is also supported. (Of

Re: [RFC 00/14] perf tools: Introduce new 'ftrace' command

2013-04-24 Thread Namhyung Kim
Hi Pekka, On Tue, 23 Apr 2013 20:19:37 +0300, Pekka Enberg wrote: Hello, On Tue, 2013-04-23 at 17:30 +0900, Namhyung Kim wrote: This patchset implements a front-end tool for kernel's ftrace. It uses function_graph tracer by default and normal function tracer is also supported. (Of course

Re: [RFC 00/14] perf tools: Introduce new 'ftrace' command

2013-04-24 Thread Namhyung Kim
Hi Ingo, On Wed, 24 Apr 2013 08:50:18 +0200, Ingo Molnar wrote: * Pekka Enberg penb...@kernel.org wrote: Hello, On Tue, 2013-04-23 at 17:30 +0900, Namhyung Kim wrote: This patchset implements a front-end tool for kernel's ftrace. It uses function_graph tracer by default and normal

Re: [RFC 00/14] perf tools: Introduce new 'ftrace' command

2013-04-24 Thread zhangwei(Jovi)
On 2013/4/24 17:27, Namhyung Kim wrote: Hi Steve, On Tue, 23 Apr 2013 11:58:01 -0400, Steven Rostedt wrote: On Tue, 2013-04-23 at 17:30 +0900, Namhyung Kim wrote: Hello, This patchset implements a front-end tool for kernel's ftrace. It uses function_graph tracer by default and normal

Re: [RFC 00/14] perf tools: Introduce new 'ftrace' command

2013-04-24 Thread zhangwei(Jovi)
On 2013/4/24 17:52, Namhyung Kim wrote: Hi Ingo, On Wed, 24 Apr 2013 08:50:18 +0200, Ingo Molnar wrote: * Pekka Enberg penb...@kernel.org wrote: Hello, On Tue, 2013-04-23 at 17:30 +0900, Namhyung Kim wrote: This patchset implements a front-end tool for kernel's ftrace. It uses

Re: [RFC 00/14] perf tools: Introduce new 'ftrace' command

2013-04-24 Thread Namhyung Kim
Hi Jovi, On Wed, 24 Apr 2013 19:14:49 +0800, zhangwei wrote: On 2013/4/24 17:27, Namhyung Kim wrote: Also, have you given thought on how to execute both ftrace and the pmu counters? That is, to get a way to interleave the data? I didn't think about it yet. I just thought enabling event

Re: [RFC 00/14] perf tools: Introduce new 'ftrace' command

2013-04-24 Thread Namhyung Kim
On Wed, 24 Apr 2013 19:15:19 +0800, zhangwei wrote: On 2013/4/24 17:52, Namhyung Kim wrote: I think it'd be great if perf trace can cover both of kernel and user spaces. But function tracing in userspace looks impossible IMHO. So how about changing perf trace to receive proposed

Re: [RFC 00/14] perf tools: Introduce new 'ftrace' command

2013-04-23 Thread Pekka Enberg
Hello, On Tue, 2013-04-23 at 17:30 +0900, Namhyung Kim wrote: >> This patchset implements a front-end tool for kernel's ftrace. It >> uses function_graph tracer by default and normal function tracer is >> also supported. (Of course you need to enable those tracers in your >> kernel first.) On

Re: [RFC 00/14] perf tools: Introduce new 'ftrace' command

2013-04-23 Thread Steven Rostedt
On Tue, 2013-04-23 at 17:30 +0900, Namhyung Kim wrote: > Hello, > > This patchset implements a front-end tool for kernel's ftrace. It > uses function_graph tracer by default and normal function tracer is > also supported. (Of course you need to enable those tracers in your > kernel first.) > >

[RFC 00/14] perf tools: Introduce new 'ftrace' command

2013-04-23 Thread Namhyung Kim
Hello, This patchset implements a front-end tool for kernel's ftrace. It uses function_graph tracer by default and normal function tracer is also supported. (Of course you need to enable those tracers in your kernel first.) NOTE: It's in very early stage, so may contain many rough edges. It

[RFC 00/14] perf tools: Introduce new 'ftrace' command

2013-04-23 Thread Namhyung Kim
Hello, This patchset implements a front-end tool for kernel's ftrace. It uses function_graph tracer by default and normal function tracer is also supported. (Of course you need to enable those tracers in your kernel first.) NOTE: It's in very early stage, so may contain many rough edges. It

Re: [RFC 00/14] perf tools: Introduce new 'ftrace' command

2013-04-23 Thread Steven Rostedt
On Tue, 2013-04-23 at 17:30 +0900, Namhyung Kim wrote: Hello, This patchset implements a front-end tool for kernel's ftrace. It uses function_graph tracer by default and normal function tracer is also supported. (Of course you need to enable those tracers in your kernel first.) NOTE:

Re: [RFC 00/14] perf tools: Introduce new 'ftrace' command

2013-04-23 Thread Pekka Enberg
Hello, On Tue, 2013-04-23 at 17:30 +0900, Namhyung Kim wrote: This patchset implements a front-end tool for kernel's ftrace. It uses function_graph tracer by default and normal function tracer is also supported. (Of course you need to enable those tracers in your kernel first.) On Tue, Apr