OSDN Git Service

perf tools: Get rid of dso__needs_decompress() call in symbol__disassemble()
authorJiri Olsa <jolsa@kernel.org>
Fri, 17 Aug 2018 09:48:02 +0000 (11:48 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 20 Aug 2018 11:54:59 +0000 (08:54 -0300)
commit2354ae9bdc320939cc74695b564ccf178780dd61
tree9b8a5839015cd4d028cfaeb4253b693152734cf9
parentbcd4287ead885e010cd49265d8c68f2373476b08
perf tools: Get rid of dso__needs_decompress() call in symbol__disassemble()

There's no need to call dso__needs_decompress() twice in the function.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20180817094813.15086-3-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/annotate.c