diff options
-rw-r--r-- | arch/powerpc/kernel/perf_counter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/perf_counter.c b/arch/powerpc/kernel/perf_counter.c index 4cc4ac5c791c..232b00a36f79 100644 --- a/arch/powerpc/kernel/perf_counter.c +++ b/arch/powerpc/kernel/perf_counter.c | |||
@@ -1002,7 +1002,7 @@ static void record_and_restart(struct perf_counter *counter, long val, | |||
1002 | */ | 1002 | */ |
1003 | if (record) { | 1003 | if (record) { |
1004 | addr = 0; | 1004 | addr = 0; |
1005 | if (counter->attr.record_type & PERF_RECORD_ADDR) { | 1005 | if (counter->attr.sample_type & PERF_SAMPLE_ADDR) { |
1006 | /* | 1006 | /* |
1007 | * The user wants a data address recorded. | 1007 | * The user wants a data address recorded. |
1008 | * If we're not doing instruction sampling, | 1008 | * If we're not doing instruction sampling, |