OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0efe6b6
)
perf tools: Extend the event parser maximum error index
author
Adrian Hunter
<adrian.hunter@intel.com>
Fri, 17 Jul 2015 16:33:51 +0000
(19:33 +0300)
committer
Arnaldo Carvalho de Melo
<acme@redhat.com>
Thu, 6 Aug 2015 19:49:44 +0000
(16:49 -0300)
Extend the event parser maximum error index from 10 to 13. That allows
PMU config terms of up to 10 characters to display un-truncated in the
error message.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link:
http://lkml.kernel.org/r/1437150840-31811-17-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/parse-events.c
patch
|
blob
|
history
diff --git
a/tools/perf/util/parse-events.c
b/tools/perf/util/parse-events.c
index
a6cb9af
..
828936d
100644
(file)
--- a/
tools/perf/util/parse-events.c
+++ b/
tools/perf/util/parse-events.c
@@
-1168,7
+1168,7
@@
static void parse_events_print_error(struct parse_events_error *err,
* Maximum error index indent, we will cut
* the event string if it's bigger.
*/
- int max_err_idx = 1
0
;
+ int max_err_idx = 1
3
;
/*
* Let's be specific with the message when