linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BUG] perf report: segfault with --no-group in pipe mode
@ 2019-08-02 16:38 Stephane Eranian
  2019-08-03  8:45 ` Jiri Olsa
  0 siblings, 1 reply; 2+ messages in thread
From: Stephane Eranian @ 2019-08-02 16:38 UTC (permalink / raw)
  To: LKML; +Cc: Jiri Olsa, Arnaldo Carvalho de Melo

Hi,

When trying the following command line with perf from tip,git, I got:

$ perf record --group -c 100000 -e '{branch-misses,branches}' -a -o -
sleep 1| perf report --no-group -F sample,cpu,period -i -
# To display the perf.data header info, please use
--header/--header-only options.
#
Segmentation fault (core dumped)

(gdb) r report --no-group -F sample,cpu,period -i - < tt
Starting program: /export/hda3/perftest/perf.tip report --no-group -F
sample,cpu,period -i - < tt
# To display the perf.data header info, please use
--header/--header-only options.
#

Program received signal SIGSEGV, Segmentation fault.
hlist_add_head (h=0xeb9ed8, n=0xebdfd0) at
/usr/local/google/home/eranian/G/bnw.tip/tools/include/linux/list.h:644
644 /usr/local/google/home/eranian/G/bnw.tip/tools/include/linux/list.h:
No such file or directory.
(gdb)

Can you reproduce this?
Thanks.

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

* Re: [BUG] perf report: segfault with --no-group in pipe mode
  2019-08-02 16:38 [BUG] perf report: segfault with --no-group in pipe mode Stephane Eranian
@ 2019-08-03  8:45 ` Jiri Olsa
  0 siblings, 0 replies; 2+ messages in thread
From: Jiri Olsa @ 2019-08-03  8:45 UTC (permalink / raw)
  To: Stephane Eranian; +Cc: LKML, Arnaldo Carvalho de Melo

On Fri, Aug 02, 2019 at 09:38:49AM -0700, Stephane Eranian wrote:
> Hi,
> 
> When trying the following command line with perf from tip,git, I got:
> 
> $ perf record --group -c 100000 -e '{branch-misses,branches}' -a -o -
> sleep 1| perf report --no-group -F sample,cpu,period -i -
> # To display the perf.data header info, please use
> --header/--header-only options.
> #
> Segmentation fault (core dumped)
> 
> (gdb) r report --no-group -F sample,cpu,period -i - < tt
> Starting program: /export/hda3/perftest/perf.tip report --no-group -F
> sample,cpu,period -i - < tt
> # To display the perf.data header info, please use
> --header/--header-only options.
> #
> 
> Program received signal SIGSEGV, Segmentation fault.
> hlist_add_head (h=0xeb9ed8, n=0xebdfd0) at
> /usr/local/google/home/eranian/G/bnw.tip/tools/include/linux/list.h:644
> 644 /usr/local/google/home/eranian/G/bnw.tip/tools/include/linux/list.h:
> No such file or directory.
> (gdb)
> 
> Can you reproduce this?

hi,
looks like it's you might be hitting this one:
  79b2fe5e7561 perf tools: Fix proper buffer size for feature processing

please try Arnaldo's perf/urgent, it's in there

jirka

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

end of thread, other threads:[~2019-08-03  8:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-02 16:38 [BUG] perf report: segfault with --no-group in pipe mode Stephane Eranian
2019-08-03  8:45 ` Jiri Olsa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).