projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf annotate: Fix sizeof_sym_hist overflow issue
[firefly-linux-kernel-4.4.55.git]
/
tools
/
perf
/
util
/
annotate.h
diff --git
a/tools/perf/util/annotate.h
b/tools/perf/util/annotate.h
index e9996092a093d7ef6af5aa72ac78fdd5cab61d81..cea323d9ee7eabbd2101eff85be5e0f564520b91 100644
(file)
--- a/
tools/perf/util/annotate.h
+++ b/
tools/perf/util/annotate.h
@@
-122,7
+122,7
@@
struct annotated_source {
struct list_head source;
struct source_line *lines;
int nr_histograms;
-
int
sizeof_sym_hist;
+
size_t
sizeof_sym_hist;
struct cyc_hist *cycles_hist;
struct sym_hist histograms[0];
};