diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2010-08-27 04:28:40 +0400 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2010-08-27 04:30:07 +0400 |
commit | 98ee74a75ca0f047e75400afa712f7bf08268b8e (patch) | |
tree | c87b267f1e279173696f2294b3930940f1a5b570 | |
parent | 7de5d895b2020260190db0021de646f3f22f755e (diff) | |
parent | 5225c45899e872383ca39f5533d28ec63c54b39e (diff) | |
download | linux-98ee74a75ca0f047e75400afa712f7bf08268b8e.tar.xz |
Merge branch 'perf/urgent' into perf/core
Conflicts:
tools/perf/util/callchain.h
Merge reason:
Fix a non-trivial conflict with latest fixes
-rw-r--r-- | arch/x86/kernel/cpu/perf_event_p4.c | 2 | ||||
-rw-r--r-- | kernel/trace/trace_stack.c | 2 | ||||
-rw-r--r-- | tools/perf/util/callchain.h | 1 |
3 files changed, 4 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/perf_event_p4.c b/arch/x86/kernel/cpu/perf_event_p4.c index febb12cea795..7e578e9cc58b 100644 --- a/arch/x86/kernel/cpu/perf_event_p4.c +++ b/arch/x86/kernel/cpu/perf_event_p4.c @@ -497,6 +497,8 @@ static int p4_hw_config(struct perf_event *event) event->hw.config |= event->attr.config & (p4_config_pack_escr(P4_ESCR_MASK_HT) | p4_config_pack_cccr(P4_CCCR_MASK_HT | P4_CCCR_RESERVED)); + + event->hw.config &= ~P4_CCCR_FORCE_OVF; } rc = x86_setup_perfctr(event); diff --git a/kernel/trace/trace_stack.c b/kernel/trace/trace_stack.c index 056468eae7cf..a6b7e0e0f3eb 100644 --- a/kernel/trace/trace_stack.c +++ b/kernel/trace/trace_stack.c @@ -249,7 +249,7 @@ static int trace_lookup_stack(struct seq_file *m, long i) { unsigned long addr = stack_dump_trace[i]; - return seq_printf(m, "%pF\n", (void *)addr); + return seq_printf(m, "%pS\n", (void *)addr); } static void print_disabled(struct seq_file *m) diff --git a/tools/perf/util/callchain.h b/tools/perf/util/callchain.h index 51a8f2b600bd..c15fb8c24ad2 100644 --- a/tools/perf/util/callchain.h +++ b/tools/perf/util/callchain.h @@ -57,6 +57,7 @@ static inline void callchain_init(struct callchain_root *root) root->node.parent = NULL; root->node.hit = 0; + root->node.children_hit = 0; root->max_depth = 0; } |