Re: [PATCH v4] perf tools: Fix build-id matching on vmlinux

2014-09-28 Thread Namhyung Kim
Hi Ingo and Arnaldo, On Wed, 24 Sep 2014 09:33:56 +0200, Ingo Molnar wrote: > * Namhyung Kim wrote: >> @@ -1062,8 +1063,26 @@ static int machine__process_kernel_mmap_event(struct >> machine *machine, >> * Should be there already, from the build-id table in &

[PATCH v4] perf tools: Fix build-id matching on vmlinux

2014-09-22 Thread Namhyung Kim
y 72.15% 0.00% swapper vmlinux [k] arch_cpu_idle 72.15% 0.00% swapper vmlinux [k] default_idle 71.87%71.87% swapper vmlinux [k] native_safe_halt ... Cc: stable@vger.kernel.org Signed-off-by: Namhyung Kim --- tools/perf/util/machine.c | 23

Re: [PATCH v3] perf tools: Fix build-id matching on vmlinux

2014-09-22 Thread Namhyung Kim
Hi Ingo, On Mon, 22 Sep 2014 07:16:30 +0200, Ingo Molnar wrote: > * Namhyung Kim wrote: >> +list_for_each_entry(dso, &machine->kernel_dsos, node) { >> +const char *suffix; >> + >> +suffix = dso->l

[PATCH v3] perf tools: Fix build-id matching on vmlinux

2014-09-21 Thread Namhyung Kim
[k] arch_cpu_idle 72.15% 0.00% swapper vmlinux [k] default_idle 71.87%71.87% swapper vmlinux [k] native_safe_halt ... Cc: stable@vger.kernel.org Signed-off-by: Namhyung Kim --- tools/perf/util/machine.c | 18 -- 1 file changed, 16 insertions(+), 2 deletion

Re: [PATCH v2] perf tools: Fix build-id matching on vmlinux

2014-09-19 Thread Namhyung Kim
2014-09-19 (금), 11:16 -0300, Arnaldo Carvalho de Melo: > Em Fri, Sep 19, 2014 at 03:26:25PM +0900, Namhyung Kim escreveu: > > On Fri, 12 Sep 2014 11:11:16 -0300, Arnaldo Carvalho de Melo wrote: > > > Em Fri, Sep 12, 2014 at 03:14:51PM +0900, Namhyung Kim escreveu: > > >

Re: [PATCH v2] perf tools: Fix build-id matching on vmlinux

2014-09-18 Thread Namhyung Kim
On Fri, 12 Sep 2014 11:11:16 -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, Sep 12, 2014 at 03:14:51PM +0900, Namhyung Kim escreveu: >> On Fri, 5 Sep 2014 12:44:02 -0300, Arnaldo Carvalho de Melo wrote: >> > It seems we need a way to state that an entry in the build-id tab

Re: [PATCH v2] perf tools: Fix build-id matching on vmlinux

2014-09-11 Thread Namhyung Kim
On Mon, 8 Sep 2014 10:38:47 -0300, Arnaldo Carvalho de Melo wrote: > Em Sun, Sep 07, 2014 at 10:24:12PM +0200, Stephane Eranian escreveu: >> Can't you figure out it is from the kernel (in perf record) by remembering >> you got the buildid from /sys/kernel/notes? > > Sure, the question was more abou

Re: [PATCH v2] perf tools: Fix build-id matching on vmlinux

2014-09-11 Thread Namhyung Kim
Hi Arnaldo, On Fri, 5 Sep 2014 12:44:02 -0300, Arnaldo Carvalho de Melo wrote: > Em Sat, Sep 06, 2014 at 12:16:40AM +0900, Namhyung Kim escreveu: >> Hi Adrian and Arnaldo, >> >> 2014-09-05 (금), 11:11 -0300, Arnaldo Carvalho de Melo: >> > Em Fri, Sep 05, 2014 at 1

Re: [PATCH v2] perf tools: Fix build-id matching on vmlinux

2014-09-05 Thread Namhyung Kim
Hi Adrian and Arnaldo, 2014-09-05 (금), 11:11 -0300, Arnaldo Carvalho de Melo: > Em Fri, Sep 05, 2014 at 10:22:40AM +0300, Adrian Hunter escreveu: > > On 09/05/2014 07:59 AM, Namhyung Kim wrote: > > > +++ b/tools/perf/util/machine.c > > > @@ -106

[PATCH v2] perf tools: Fix build-id matching on vmlinux

2014-09-04 Thread Namhyung Kim
[k] arch_cpu_idle 72.15% 0.00% swapper vmlinux [k] default_idle 71.87%71.87% swapper vmlinux [k] native_safe_halt ... Cc: stable@vger.kernel.org Signed-off-by: Namhyung Kim --- tools/perf/util/machine.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletion

Re: [PATCH] perf tools: Fix build-id matching on vmlinux

2014-09-04 Thread Namhyung Kim
On Fri, Sep 5, 2014 at 10:42 AM, Namhyung Kim wrote: > On Fri, Sep 5, 2014 at 10:18 AM, Arnaldo Carvalho de Melo > wrote: >> Em Fri, Sep 05, 2014 at 09:09:49AM +0900, Namhyung Kim escreveu: >>> The perf report rebuilds machine states from the event records only. In >>

Re: [PATCH] perf tools: Fix build-id matching on vmlinux

2014-09-04 Thread Namhyung Kim
On Fri, Sep 5, 2014 at 10:18 AM, Arnaldo Carvalho de Melo wrote: > Em Fri, Sep 05, 2014 at 09:09:49AM +0900, Namhyung Kim escreveu: >> The perf report rebuilds machine states from the event records only. In >> this case, the kernel map was recorded in the name of [kernel.kal

Re: [PATCH] perf tools: Fix build-id matching on vmlinux

2014-09-04 Thread Namhyung Kim
Hi Stephane, On Thu, 4 Sep 2014 16:37:51 +0200, Stephane Eranian wrote: > On Tue, Aug 26, 2014 at 8:38 AM, Namhyung Kim wrote: >> >> There's a problem on finding correct kernel symbols when perf report >> runs on a different kernel. Although a part of the problem

Re: [PATCH] perf tools: Fix build-id matching on vmlinux

2014-09-04 Thread Namhyung Kim
Hi Arnaldo, On Thu, 4 Sep 2014 11:18:45 -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Aug 26, 2014 at 03:38:39PM +0900, Namhyung Kim escreveu: >> There's a problem on finding correct kernel symbols when perf report >> runs on a different kernel. Although a part of the prob

Re: [PATCH] perf tools: Fix build-id matching on vmlinux

2014-09-03 Thread Namhyung Kim
Ping! On Tue, 26 Aug 2014 15:38:39 +0900, Namhyung Kim wrote: > There's a problem on finding correct kernel symbols when perf report > runs on a different kernel. Although a part of the problem was solved > by the prior commit 0a7e6d1b6844 ("perf tools: Check recorded ke

[PATCH] perf tools: Fix build-id matching on vmlinux

2014-08-25 Thread Namhyung Kim
kallsyms] 78186287bba77069a056a5ccbeb14b7fd2ca3a4b /usr/lib64/libc-2.17.so 4eadca6cb82e0a85edb87c15b5e3980742514501 /usr/lib64/ld-2.17.so 1e272ca30081e81ef41935a630eb2f4c636798b4 /usr/lib64/dri/swrast_dri.so /tmp/perf-2523.map Cc: stable@vger.kernel.org

Re: [GIT PULL 00/21] perf/core improvements and fixes

2012-11-12 Thread Namhyung Kim
On Mon, 12 Nov 2012 13:01:39 -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Nov 12, 2012 at 02:55:46PM +0100, Jiri Olsa escreveu: >> On Mon, Nov 12, 2012 at 11:10:52AM +0900, Namhyung Kim wrote: >> > On Fri, 9 Nov 2012 18:42:49 -0300, Arnaldo Carvalho de Melo wrote: >> &

Re: [GIT PULL 00/21] perf/core improvements and fixes

2012-11-11 Thread Namhyung Kim
Hi Arnaldo, On Fri, 9 Nov 2012 18:42:49 -0300, Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling. > > - Arnaldo > > The following changes since commit 8dfec403e39b7c37fd6e8813bacc01da1e1210ab: > > perf tests: Removing 'optional' field (2012-11-05 14:03:59 -0300) > > a

Re: [PATCH] perf stat: Fix default logfd to use stderr

2012-06-18 Thread Namhyung Kim
Hi, Robert On Mon, 18 Jun 2012 16:51:08 +0200, Robert Richter wrote: > On 29.09.11 18:48:01, Arnaldo Carvalho de Melo wrote: >> From: Jim Cromie >> >> This perf stat option emulates valgrind's --log-fd option, allowing the >> user to send perf results elsewhere, and leaving stderr for use by the