projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf tools: Add support for weight v7 (modified)
[deliverable/linux.git]
/
tools
/
perf
/
util
/
session.c
diff --git
a/tools/perf/util/session.c
b/tools/perf/util/session.c
index c8ba120b0dbee3944cd9172acf916965c214bcde..627be09b479ef03fec040de276b62ad6b58246a1 100644
(file)
--- a/
tools/perf/util/session.c
+++ b/
tools/perf/util/session.c
@@
-798,6
+798,9
@@
static void dump_sample(struct perf_evsel *evsel, union perf_event *event,
if (sample_type & PERF_SAMPLE_STACK_USER)
stack_user__printf(&sample->user_stack);
+
+ if (sample_type & PERF_SAMPLE_WEIGHT)
+ printf("... weight: %" PRIu64 "\n", sample->weight);
}
static struct machine *
This page took
0.035845 seconds
and
5
git commands to generate.