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 tools: Dump exclude_{guest,host}, precise_ip header info too
[firefly-linux-kernel-4.4.55.git]
/
tools
/
perf
/
util
/
header.c
diff --git
a/tools/perf/util/header.c
b/tools/perf/util/header.c
index 5a47aba46759274f7f542e533bae4a62749d565a..3a6d20443330b13d74b2b69b4c1d0e39cd5bb678 100644
(file)
--- a/
tools/perf/util/header.c
+++ b/
tools/perf/util/header.c
@@
-1212,6
+1212,12
@@
static void print_event_desc(struct perf_header *ph, int fd, FILE *fp)
attr.exclude_user,
attr.exclude_kernel);
+ fprintf(fp, ", excl_host = %d, excl_guest = %d",
+ attr.exclude_host,
+ attr.exclude_guest);
+
+ fprintf(fp, ", precise_ip = %d", attr.precise_ip);
+
if (nr)
fprintf(fp, ", id = {");