]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
Merge branch 'perf/core' of git://git.kernel.org/pub/scm/linux/kernel/git/frederic...
authorIngo Molnar <mingo@elte.hu>
Mon, 30 Aug 2010 06:55:38 +0000 (08:55 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 30 Aug 2010 06:55:38 +0000 (08:55 +0200)
arch/x86/kernel/cpu/perf_event_p4.c
kernel/trace/trace_stack.c
tools/perf/util/callchain.h

index febb12cea795268f224a9d39937e3f27bb86bf67..7e578e9cc58bd5062d30776d431dabdcf724ac67 100644 (file)
@@ -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);
index 056468eae7cfce7a76bf5c2364f71c722adeb325..a6b7e0e0f3eb092aac06e8bc017dcf5ea80105af 100644 (file)
@@ -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)
index 51a8f2b600bd75dfb0296b1cc943d3778fa2fc9f..c15fb8c24ad2b87388e97cd6346cfdebaac11dd5 100644 (file)
@@ -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;
 }