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)
commit76b10655818c939e257377f83992975a5f55ffb3
tree1c61365ccaa922d4040d5a89c12eed54db8133d2
parent28ebb87c73f9c17266d4f7570d65a1e695df7d9d
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
This page took 0.02441 seconds and 5 git commands to generate.