projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tools lib: Adopt zalloc()/zfree() from tools/perf
[platform/kernel/linux-starfive.git]
/
tools
/
perf
/
util
/
stat.c
diff --git
a/tools/perf/util/stat.c
b/tools/perf/util/stat.c
index
d91fe75
..
c967715
100644
(file)
--- a/
tools/perf/util/stat.c
+++ b/
tools/perf/util/stat.c
@@
-6,6
+6,7
@@
#include "evlist.h"
#include "evsel.h"
#include "thread_map.h"
+#include <linux/zalloc.h>
void update_stats(struct stats *stats, u64 val)
{