powerpc: perf_event: Log invalid data addresses as all 1s
[linux-2.6.git] / arch / powerpc / kernel / perf_event.c
index bbcbae1..73c3b73 100644 (file)
@@ -1162,7 +1162,7 @@ static void record_and_restart(struct perf_event *event, unsigned long val,
         */
        if (record) {
                struct perf_sample_data data = {
-                       .addr   = 0,
+                       .addr   = ~0ULL,
                        .period = event->hw.last_period,
                };