]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Merge branch 'linus' into perf/core
authorIngo Molnar <mingo@kernel.org>
Sat, 8 Dec 2012 14:25:06 +0000 (15:25 +0100)
committerIngo Molnar <mingo@kernel.org>
Sat, 8 Dec 2012 14:25:06 +0000 (15:25 +0100)
Conflicts:
tools/perf/Makefile
tools/perf/builtin-test.c
tools/perf/perf.h
tools/perf/tests/parse-events.c
tools/perf/util/evsel.h

Signed-off-by: Ingo Molnar <mingo@kernel.org>
14 files changed:
1  2 
arch/x86/kernel/cpu/perf_event_p6.c
include/linux/kernel.h
tools/perf/Makefile
tools/perf/builtin-kvm.c
tools/perf/perf.h
tools/perf/tests/parse-events.c
tools/perf/util/evsel.c
tools/perf/util/evsel.h
tools/perf/util/header.c
tools/perf/util/header.h
tools/perf/util/parse-events.c
tools/perf/util/parse-events.h
tools/perf/util/pmu.h
tools/perf/util/session.h

Simple merge
Simple merge
index a7c6aa8d4a8ba7cf92b55490d40c1906652180d2,0a619af5be4377fd395dc1b638b40d095d9d7cdd..891bc77bdb2cbba9910813c6df8866b1351a7734
@@@ -169,16 -169,36 +169,44 @@@ endi
  
  ### --- END CONFIGURATION SECTION ---
  
- BASIC_CFLAGS = -Iutil/include -Iarch/$(ARCH)/include -I$(OUTPUT)util -Iutil -I. -I$(TRACE_EVENT_DIR) -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
+ ifeq ($(srctree),)
+ srctree := $(patsubst %/,%,$(dir $(shell pwd)))
+ srctree := $(patsubst %/,%,$(dir $(srctree)))
+ #$(info Determined 'srctree' to be $(srctree))
+ endif
+ ifneq ($(objtree),)
+ #$(info Determined 'objtree' to be $(objtree))
+ endif
+ ifneq ($(OUTPUT),)
+ #$(info Determined 'OUTPUT' to be $(OUTPUT))
+ endif
+ BASIC_CFLAGS = \
+       -Iutil/include \
+       -Iarch/$(ARCH)/include \
+       $(if $(objtree),-I$(objtree)/arch/$(ARCH)/include/generated/uapi) \
+       -I$(srctree)/arch/$(ARCH)/include/uapi \
+       -I$(srctree)/arch/$(ARCH)/include \
+       $(if $(objtree),-I$(objtree)/include/generated/uapi) \
+       -I$(srctree)/include/uapi \
+       -I$(srctree)/include \
+       -I$(OUTPUT)util \
+       -Iutil \
+       -I. \
+       -I$(TRACE_EVENT_DIR) \
+       -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
++
  BASIC_LDFLAGS =
  
 +ifeq ($(call try-cc,$(SOURCE_BIONIC),$(CFLAGS),bionic),y)
 +      BIONIC := 1
 +      EXTLIBS := $(filter-out -lrt,$(EXTLIBS))
 +      EXTLIBS := $(filter-out -lpthread,$(EXTLIBS))
 +      BASIC_CFLAGS += -I.
 +endif
 +
  # Guard against environment variables
  BUILTIN_OBJS =
  LIB_H =
index 836c82f0137176fb05f80bacab5e47c2b726593e,283b4397e397fdd3155c4bcf11b23caeeb2bb139..ca3f80ebc100ce271007940cf32a4f16856f1628
@@@ -311,11 -312,11 +312,11 @@@ struct vcpu_event_record 
  };
  
  
- static void init_kvm_event_record(struct perf_kvm *kvm)
+ static void init_kvm_event_record(struct perf_kvm_stat *kvm)
  {
 -      int i;
 +      unsigned int i;
  
 -      for (i = 0; i < (int)EVENTS_CACHE_SIZE; i++)
 +      for (i = 0; i < EVENTS_CACHE_SIZE; i++)
                INIT_LIST_HEAD(&kvm->kvm_events_cache[i]);
  }
  
Simple merge
index 42a0c8cd3cd59327978bd2db338eb2ab2bebd941,6ef213b35ecd0bf4c83729f8c71f05c3631716fd..32ee478905eb8ed0bd182bed13fd3a57bb0746bd
@@@ -3,8 -3,7 +3,8 @@@
  #include "evsel.h"
  #include "evlist.h"
  #include "sysfs.h"
- #include "../../../include/linux/hw_breakpoint.h"
 +#include "tests.h"
+ #include <linux/hw_breakpoint.h>
  
  #define TEST_ASSERT_VAL(text, cond) \
  do { \
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge