|
@@ -268,6 +268,13 @@ again:
|
|
|
if (evlist->threads->map[0] == -1 || evlist->threads->nr > 1)
|
|
|
printf("%d ", sample.tid);
|
|
|
|
|
|
+ if (sample.raw_data == NULL) {
|
|
|
+ printf("%s sample with no payload for tid: %d, cpu %d, raw_size=%d, skipping...\n",
|
|
|
+ perf_evsel__name(evsel), sample.tid,
|
|
|
+ sample.cpu, sample.raw_size);
|
|
|
+ continue;
|
|
|
+ }
|
|
|
+
|
|
|
handler = evsel->handler.func;
|
|
|
handler(trace, evsel, &sample);
|
|
|
}
|