diff options
author | Namhyung Kim <namhyung@kernel.org> | 2015-10-21 05:57:20 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-10-22 22:34:29 +0300 |
commit | 39ff7cdb5a5e6b75dd049255615828c6531cd109 (patch) | |
tree | 34123b18c6bdff126a9241ea2e6282cf589e6ce5 /tools/perf/ui/tui | |
parent | 76a26549eb367f683fbb394b7246bef5dc665f8c (diff) | |
download | linux-39ff7cdb5a5e6b75dd049255615828c6531cd109.tar.xz |
perf annotate: Fix 'annotate.use_offset' config variable usage
The annotate__configs should be sorted so that it can use bsearch(3).
However commit 0c4a5bcea460 ("perf annotate: Display total number of
samples with --show-total-period") added a new config item at the end.
This resulted in the 'annotate.use_offset' config variable cannot be
found and perf terminated like below:
$ perf report
bad config file line 6 in ~/.perfconfig
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Martin Liška <mliska@suse.cz>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Taeung Song <treeze.taeung@gmail.com>
Fixes: 0c4a5bcea460 ("perf annotate: Display total number of samples with --show-total-period")
Link: http://lkml.kernel.org/r/1445396240-3428-1-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/ui/tui')
0 files changed, 0 insertions, 0 deletions