Re: [PATCH] perf script: fix segfault when printing callchains using builtin-script

2016-04-19 Thread Arnaldo Carvalho de Melo
Em Tue, Apr 19, 2016 at 07:32:11PM -0700, Chris Phlipot escreveu: > This fixes a bug caused by an unitialized callchain cursor. The crash > frist appeared in: > 6f736735e30f ("perf evsel: Require that callchains be resolved before > calling fprintf_{sym,callchain}") > > The callchain cursor is a s

[PATCH] perf script: fix segfault when printing callchains using builtin-script

2016-04-19 Thread Chris Phlipot
This fixes a bug caused by an unitialized callchain cursor. The crash frist appeared in: 6f736735e30f ("perf evsel: Require that callchains be resolved before calling fprintf_{sym,callchain}") The callchain cursor is a struct that contains pointers, that when uninitialized will cause unpredictable