Re: [PATCH] perf record: Fix crash in pipe mode

2018-03-02 Thread Arnaldo Carvalho de Melo
Em Fri, Mar 02, 2018 at 05:13:54PM +0100, Jiri Olsa escreveu: > Currently we can crash perf record when running in pipe mode, like: > > $ perf record ls | perf report > # To display the perf.data header info, please use --header/--header-only > options. > # > perf: Segmentation fault >

[PATCH] perf record: Fix crash in pipe mode

2018-03-02 Thread Jiri Olsa
Currently we can crash perf record when running in pipe mode, like: $ perf record ls | perf report # To display the perf.data header info, please use --header/--header-only options. # perf: Segmentation fault Error: The - file has no samples! The callstack of the crash is: 0x000