Merge branch 'tracing/hw-breakpoints' into perf/core
authorIngo Molnar <mingo@elte.hu>
Sat, 21 Nov 2009 13:07:23 +0000 (14:07 +0100)
committerIngo Molnar <mingo@elte.hu>
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
index c5f1f117e0c0577a527e788d4c80220bd49dd84d,b5b1848c5336e505a5a147f0497865056f34b307..3fe86d706a1493ad59cb655478bd9b41cfd11f4d
@@@ -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
index 7f87563c8485a62da6aafe2e646bd5eb6bdb73ab,cead64ea6c1569c5cc70204a774c30625ad6293a..b5cdac0de370ce538241eba6aa50e1547ac43f7a
@@@ -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
index edc3a3cca1a16cbd4199a0b8035550f60f7ba593,0f84c52e58fe641db0e5b4afe5beb1eed49368ba..cd9ecd89ec7714d34f16fd541beabd9ce0e504d2
@@@ -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