* [BUG] perf mem: perf mem report fails in TUI mode
@ 2014-12-10 4:15 Stephane Eranian
2014-12-10 5:18 ` David Ahern
2014-12-10 15:30 ` Jiri Olsa
0 siblings, 2 replies; 6+ messages in thread
From: Stephane Eranian @ 2014-12-10 4:15 UTC (permalink / raw)
To: LKML
Cc: Jiri Olsa, Arnaldo Carvalho de Melo, Peter Zijlstra,
mingo@elte.hu, Namhyung Kim, David Ahern, ak@linux.intel.com
Hi,
I was running a couple of tests with perf mem from tip.git and
found that perf mem -t load rep was failing only in TUI mode.
With --stdio, it works fine. I did a bit of investigation and found
out that the TUI mode is failing because some symbol (kernel)
is showing up with a huge (negative) size. I don't understand
the connection between the TUI vs. tty browser and symbols.
To reproduce:
$ perf mem -t load rec my_test_program
$ perf mem -t load rep
$ perf mem -t load rep --stdio
Debugging with TUI is a pain, so I stopped.
I have a patch to improve perf mem a bit but I'd like to get this problem
fixed first.
Maybe you have a idea of what's going on.
Thanks.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [BUG] perf mem: perf mem report fails in TUI mode
2014-12-10 4:15 [BUG] perf mem: perf mem report fails in TUI mode Stephane Eranian
@ 2014-12-10 5:18 ` David Ahern
2014-12-10 15:21 ` Stephane Eranian
2014-12-10 15:30 ` Jiri Olsa
1 sibling, 1 reply; 6+ messages in thread
From: David Ahern @ 2014-12-10 5:18 UTC (permalink / raw)
To: Stephane Eranian, LKML
Cc: Jiri Olsa, Arnaldo Carvalho de Melo, Peter Zijlstra,
mingo@elte.hu, Namhyung Kim, ak@linux.intel.com
On 12/9/14 9:15 PM, Stephane Eranian wrote:
> Hi,
>
> I was running a couple of tests with perf mem from tip.git and
> found that perf mem -t load rep was failing only in TUI mode.
> With --stdio, it works fine. I did a bit of investigation and found
> out that the TUI mode is failing because some symbol (kernel)
> is showing up with a huge (negative) size. I don't understand
> the connection between the TUI vs. tty browser and symbols.
>
> To reproduce:
> $ perf mem -t load rec my_test_program
> $ perf mem -t load rep
> $ perf mem -t load rep --stdio
>
> Debugging with TUI is a pain, so I stopped.
>
> I have a patch to improve perf mem a bit but I'd like to get this problem
> fixed first.
>
> Maybe you have a idea of what's going on.
I usually avoid the TUI by not installing slang-devel.
But, trying out Linus' current tip (a0e4467726c - post 3.18) this seems
to work fine:
perf mem -t load rec ls
perf mem -t load rep
But kernel version for the box is 3.16.6-203.fc20.x86_64.
David
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [BUG] perf mem: perf mem report fails in TUI mode
2014-12-10 5:18 ` David Ahern
@ 2014-12-10 15:21 ` Stephane Eranian
0 siblings, 0 replies; 6+ messages in thread
From: Stephane Eranian @ 2014-12-10 15:21 UTC (permalink / raw)
To: David Ahern
Cc: LKML, Jiri Olsa, Arnaldo Carvalho de Melo, Peter Zijlstra,
mingo@elte.hu, Namhyung Kim, ak@linux.intel.com
On Wed, Dec 10, 2014 at 12:18 AM, David Ahern <dsahern@gmail.com> wrote:
> On 12/9/14 9:15 PM, Stephane Eranian wrote:
>>
>> Hi,
>>
>> I was running a couple of tests with perf mem from tip.git and
>> found that perf mem -t load rep was failing only in TUI mode.
>> With --stdio, it works fine. I did a bit of investigation and found
>> out that the TUI mode is failing because some symbol (kernel)
>> is showing up with a huge (negative) size. I don't understand
>> the connection between the TUI vs. tty browser and symbols.
>>
>> To reproduce:
>> $ perf mem -t load rec my_test_program
>> $ perf mem -t load rep
>> $ perf mem -t load rep --stdio
>>
>> Debugging with TUI is a pain, so I stopped.
>>
>> I have a patch to improve perf mem a bit but I'd like to get this problem
>> fixed first.
>>
>> Maybe you have a idea of what's going on.
>
>
> I usually avoid the TUI by not installing slang-devel.
>
> But, trying out Linus' current tip (a0e4467726c - post 3.18) this seems to
> work fine:
> perf mem -t load rec ls
> perf mem -t load rep
>
What about tip.git?
> But kernel version for the box is 3.16.6-203.fc20.x86_64.
>
> David
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [BUG] perf mem: perf mem report fails in TUI mode
2014-12-10 4:15 [BUG] perf mem: perf mem report fails in TUI mode Stephane Eranian
2014-12-10 5:18 ` David Ahern
@ 2014-12-10 15:30 ` Jiri Olsa
2014-12-10 15:46 ` Stephane Eranian
1 sibling, 1 reply; 6+ messages in thread
From: Jiri Olsa @ 2014-12-10 15:30 UTC (permalink / raw)
To: Stephane Eranian
Cc: LKML, Arnaldo Carvalho de Melo, Peter Zijlstra, mingo@elte.hu,
Namhyung Kim, David Ahern, ak@linux.intel.com
On Tue, Dec 09, 2014 at 11:15:13PM -0500, Stephane Eranian wrote:
> Hi,
>
> I was running a couple of tests with perf mem from tip.git and
> found that perf mem -t load rep was failing only in TUI mode.
> With --stdio, it works fine. I did a bit of investigation and found
> out that the TUI mode is failing because some symbol (kernel)
> is showing up with a huge (negative) size. I don't understand
> the connection between the TUI vs. tty browser and symbols.
>
> To reproduce:
> $ perf mem -t load rec my_test_program
> $ perf mem -t load rep
> $ perf mem -t load rep --stdio
hi,
I couldn't reproduce any failure on the acme's perf/core
since you indicated it's data dependent, could you share
your perf.data?
thanks,
jirka
>
> Debugging with TUI is a pain, so I stopped.
>
> I have a patch to improve perf mem a bit but I'd like to get this problem
> fixed first.
>
> Maybe you have a idea of what's going on.
>
> Thanks.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [BUG] perf mem: perf mem report fails in TUI mode
2014-12-10 15:30 ` Jiri Olsa
@ 2014-12-10 15:46 ` Stephane Eranian
2014-12-10 16:12 ` Jiri Olsa
0 siblings, 1 reply; 6+ messages in thread
From: Stephane Eranian @ 2014-12-10 15:46 UTC (permalink / raw)
To: Jiri Olsa
Cc: LKML, Arnaldo Carvalho de Melo, Peter Zijlstra, mingo@elte.hu,
Namhyung Kim, David Ahern, ak@linux.intel.com
On Wed, Dec 10, 2014 at 10:30 AM, Jiri Olsa <jolsa@redhat.com> wrote:
> On Tue, Dec 09, 2014 at 11:15:13PM -0500, Stephane Eranian wrote:
>> Hi,
>>
>> I was running a couple of tests with perf mem from tip.git and
>> found that perf mem -t load rep was failing only in TUI mode.
>> With --stdio, it works fine. I did a bit of investigation and found
>> out that the TUI mode is failing because some symbol (kernel)
>> is showing up with a huge (negative) size. I don't understand
>> the connection between the TUI vs. tty browser and symbols.
>>
>> To reproduce:
>> $ perf mem -t load rec my_test_program
>> $ perf mem -t load rep
>> $ perf mem -t load rep --stdio
>
> hi,
> I couldn't reproduce any failure on the acme's perf/core
>
What about tip.git?
> since you indicated it's data dependent, could you share
> your perf.data?
>
I can send it to you directly.
> thanks,
> jirka
>
>>
>> Debugging with TUI is a pain, so I stopped.
>>
>> I have a patch to improve perf mem a bit but I'd like to get this problem
>> fixed first.
>>
>> Maybe you have a idea of what's going on.
>>
>> Thanks.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [BUG] perf mem: perf mem report fails in TUI mode
2014-12-10 15:46 ` Stephane Eranian
@ 2014-12-10 16:12 ` Jiri Olsa
0 siblings, 0 replies; 6+ messages in thread
From: Jiri Olsa @ 2014-12-10 16:12 UTC (permalink / raw)
To: Stephane Eranian
Cc: LKML, Arnaldo Carvalho de Melo, Peter Zijlstra, mingo@elte.hu,
Namhyung Kim, David Ahern, ak@linux.intel.com
On Wed, Dec 10, 2014 at 10:46:59AM -0500, Stephane Eranian wrote:
> On Wed, Dec 10, 2014 at 10:30 AM, Jiri Olsa <jolsa@redhat.com> wrote:
> > On Tue, Dec 09, 2014 at 11:15:13PM -0500, Stephane Eranian wrote:
> >> Hi,
> >>
> >> I was running a couple of tests with perf mem from tip.git and
> >> found that perf mem -t load rep was failing only in TUI mode.
> >> With --stdio, it works fine. I did a bit of investigation and found
> >> out that the TUI mode is failing because some symbol (kernel)
> >> is showing up with a huge (negative) size. I don't understand
> >> the connection between the TUI vs. tty browser and symbols.
> >>
> >> To reproduce:
> >> $ perf mem -t load rec my_test_program
> >> $ perf mem -t load rep
> >> $ perf mem -t load rep --stdio
> >
> > hi,
> > I couldn't reproduce any failure on the acme's perf/core
> >
> What about tip.git?
works for me
>
> > since you indicated it's data dependent, could you share
> > your perf.data?
> >
> I can send it to you directly.
ok, I'll check
jirka
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-12-10 16:28 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-10 4:15 [BUG] perf mem: perf mem report fails in TUI mode Stephane Eranian
2014-12-10 5:18 ` David Ahern
2014-12-10 15:21 ` Stephane Eranian
2014-12-10 15:30 ` Jiri Olsa
2014-12-10 15:46 ` Stephane Eranian
2014-12-10 16:12 ` Jiri Olsa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox