projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf tools: Fix assertion failure on dynamic entry
[cascardo/linux.git]
/
tools
/
perf
/
ui
/
hist.c
diff --git
a/tools/perf/ui/hist.c
b/tools/perf/ui/hist.c
index
1ba4117
..
12223d7
100644
(file)
--- a/
tools/perf/ui/hist.c
+++ b/
tools/perf/ui/hist.c
@@
-645,6
+645,9
@@
void perf_hpp__reset_width(struct perf_hpp_fmt *fmt, struct hists *hists)
if (perf_hpp__is_sort_entry(fmt))
return perf_hpp__reset_sort_width(fmt, hists);
+ if (perf_hpp__is_dynamic_entry(fmt))
+ return;
+
BUG_ON(fmt->idx >= PERF_HPP__MAX_INDEX);
switch (fmt->idx) {