]> git.baikalelectronics.ru Git - kernel.git/commit
perf unwind: Remove unnecessary test
authorJohn Keeping <john@metanate.com>
Thu, 15 Aug 2019 10:01:46 +0000 (11:01 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 16 Aug 2019 15:30:14 +0000 (12:30 -0300)
commitdddcf812085026124d9a950affce583eb6dd1897
tree5087f04006c5b22343f999acaf43dfb4d2fadbef
parent17b8ad9e1b1b191ef9edbebcde951d9d20f371e3
perf unwind: Remove unnecessary test

If dwarf_callchain_users is false, then unwind__prepare_access() will
not set unwind_libunwind_ops so the remaining test here is sufficient.

Signed-off-by: John Keeping <john@metanate.com>
Reviewed-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: john keeping <john@metanate.com>
Link: http://lkml.kernel.org/r/20190815100146.28842-3-john@metanate.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/unwind-libunwind.c