]> git.baikalelectronics.ru Git - kernel.git/commit
perf sort: Check for SRCLINE_UNKNOWN case in "srcfile" processing
authorAndi Kleen <ak@linux.intel.com>
Tue, 11 Aug 2015 13:36:55 +0000 (06:36 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 12 Aug 2015 13:27:02 +0000 (10:27 -0300)
commita84e59ec4eed7d56acfd43bc148e5d6f23e6bf28
tree1c61365ccaa922d4040d5a89c12eed54db8133d2
parentf5ead042c98f2c4dc4789d915a3337f9838e4043
perf sort: Check for SRCLINE_UNKNOWN case in "srcfile" processing

Handle the SRCLINE_UNKNOWN case correctly when processing "srcfile".

Commiter note:

We can't just free it, as it was't allocated via malloc, its a guard
variable.

Reported-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/r/20150811133655.GC4524@tassilo.jf.intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/sort.c