Merge branch 'tracing/hw-breakpoints' into perf/core
Ingo Molnar [Sat, 21 Nov 2009 13:07:23 +0000 (14:07 +0100)]
Conflicts:
arch/x86/kernel/kprobes.c
kernel/trace/Makefile

Merge reason: hw-breakpoints perf integration is looking
              good in testing and in reviews, plus conflicts
              are mounting up - so merge & resolve.

Signed-off-by: Ingo Molnar <mingo@elte.hu>

12 files changed:
1  2 
arch/x86/Kconfig
arch/x86/include/asm/processor.h
arch/x86/kernel/kprobes.c
arch/x86/kernel/process_64.c
arch/x86/kernel/ptrace.c
arch/x86/kvm/x86.c
include/linux/perf_event.h
kernel/exit.c
kernel/perf_event.c
kernel/trace/Kconfig
kernel/trace/Makefile
kernel/trace/trace.h

Simple merge
Simple merge
@@@ -55,7 -54,7 +55,8 @@@
  #include <asm/pgtable.h>
  #include <asm/uaccess.h>
  #include <asm/alternative.h>
 +#include <asm/insn.h>
+ #include <asm/debugreg.h>
  
  void jprobe_return_end(void);
  
Simple merge
Simple merge
Simple merge
@@@ -474,10 -486,15 +488,15 @@@ struct hw_perf_event 
                        unsigned long   event_base;
                        int             idx;
                };
 -              union { /* software */
 -                      atomic64_t      count;
 +              struct { /* software */
 +                      s64             remaining;
                        struct hrtimer  hrtimer;
                };
+ #ifdef CONFIG_HAVE_HW_BREAKPOINT
+               union { /* breakpoint */
+                       struct arch_hw_breakpoint       info;
+               };
+ #endif
        };
        atomic64_t                      prev_count;
        u64                             sample_period;
diff --cc kernel/exit.c
Simple merge
Simple merge
Simple merge
@@@ -53,7 -53,7 +53,8 @@@ obj-$(CONFIG_EVENT_TRACING) += trace_ex
  obj-$(CONFIG_FTRACE_SYSCALLS) += trace_syscalls.o
  obj-$(CONFIG_EVENT_PROFILE) += trace_event_profile.o
  obj-$(CONFIG_EVENT_TRACING) += trace_events_filter.o
 +obj-$(CONFIG_KPROBE_EVENT) += trace_kprobe.o
+ obj-$(CONFIG_KSYM_TRACER) += trace_ksym.o
  obj-$(CONFIG_EVENT_TRACING) += power-traces.o
  
  libftrace-y := ftrace.o
Simple merge