perf tools: Add mem access sampling core support
[linux-3.10.git] / tools / perf / util / session.c
index 627be09..cf1fe01 100644 (file)
@@ -801,6 +801,9 @@ static void dump_sample(struct perf_evsel *evsel, union perf_event *event,
 
        if (sample_type & PERF_SAMPLE_WEIGHT)
                printf("... weight: %" PRIu64 "\n", sample->weight);
+
+       if (sample_type & PERF_SAMPLE_DATA_SRC)
+               printf(" . data_src: 0x%"PRIx64"\n", sample->data_src);
 }
 
 static struct machine *