Skip to content

Commit d4348c6

Browse files
committed
Merge branch 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: perf, x86, Pentium4: Clear the P4_CCCR_FORCE_OVF flag tracing/trace_stack: Fix stack trace on ppc64
2 parents 3782218 + 8d33091 commit d4348c6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

arch/x86/kernel/cpu/perf_event_p4.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,8 @@ static int p4_hw_config(struct perf_event *event)
497497
event->hw.config |= event->attr.config &
498498
(p4_config_pack_escr(P4_ESCR_MASK_HT) |
499499
p4_config_pack_cccr(P4_CCCR_MASK_HT | P4_CCCR_RESERVED));
500+
501+
event->hw.config &= ~P4_CCCR_FORCE_OVF;
500502
}
501503

502504
rc = x86_setup_perfctr(event);

kernel/trace/trace_stack.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ static int trace_lookup_stack(struct seq_file *m, long i)
249249
{
250250
unsigned long addr = stack_dump_trace[i];
251251

252-
return seq_printf(m, "%pF\n", (void *)addr);
252+
return seq_printf(m, "%pS\n", (void *)addr);
253253
}
254254

255255
static void print_disabled(struct seq_file *m)

0 commit comments

Comments
 (0)