X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=tools%2Fperf%2Futil%2Fsession.c;h=627be09b479ef03fec040de276b62ad6b58246a1;hb=05484298cbfebbf8c8c55b000541a245bc286bec;hp=c8ba120b0dbee3944cd9172acf916965c214bcde;hpb=2fe85427e3bf65d791700d065132772fc26e4d75;p=deliverable%2Flinux.git diff --git a/tools/perf/util/session.c b/tools/perf/util/session.c index c8ba120b0dbe..627be09b479e 100644 --- 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 *