1. 25 1月, 2013 13 次提交
  2. 23 1月, 2013 1 次提交
  3. 11 1月, 2013 1 次提交
    • S
      perf tools: Fix building from 'make perf-*-src-pkg' tarballs · acb8fb04
      Sebastian Andrzej Siewior 提交于
      Thanks (mostly) to uapi the package created from perf-*-src-pkg FTBFS:
      
      |    CC perf.o
      |In file included from util/../perf.h:8:0,
      |                 from util/cache.h:7,
      |                 from perf.c:12:
      |arch/x86/include/asm/unistd.h:4:29: fatal error: uapi/asm/unistd.h: No such file or directory
      |
      |    CC perf.o
      |In file included from util/../perf.h:106:0,
      |                 from util/cache.h:7,
      |                 from perf.c:12:
      |include/linux/perf_event.h:17:35: fatal error: uapi/linux/perf_event.h: No such file or directory
      |
      |    CC perf.o
      |In file included from include/uapi/linux/perf_event.h:19:0,
      |                 from util/../perf.h:106,
      |                 from util/cache.h:7,
      |                 from perf.c:12:
      |util/include/asm/byteorder.h:2:49: fatal error: ../../../../include/uapi/linux/swab.h: No such file or directory
      |
      |    CC perf.o
      |In file included from util/include/../../../../include/linux/list.h:7:0,
      |                 from util/include/linux/list.h:4,
      |                 from util/parse-events.h:7,
      |                 from perf.c:15:
      |util/include/linux/const.h:1:50: fatal error: ../../../../include/uapi/linux/const.h: No such file or directory
      |
      |In file included from builtin-kvm.c:26:0:
      |arch/x86/include/asm/svm.h:4:26: fatal error: uapi/asm/svm.h: No such file or directory
      |
      |In file included from util/evsel.c:21:0:
      |include/linux/hw_breakpoint.h:5:38: fatal error: uapi/linux/hw_breakpoint.h: No such file or directory
      |
      |    CC util/evsel.o
      |In file included from util/perf_regs.h:5:0,
      |                 from util/evsel.c:23:
      |arch/x86/include/perf_regs.h:6:27: fatal error: asm/perf_regs.h: No such file or directory
      |
      |   CC util/rbtree.o
      |In file included from ../../lib/rbtree.c:24:0:
      |util/include/linux/rbtree_augmented.h:2:56: fatal error: ../../../../include/linux/rbtree_augmented.h: No such file or directory
      
      This patch adds the missing files.
      Signed-off-by: NSebastian Andrzej Siewior <bigeasy@linutronix.de>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Link: http://lkml.kernel.org/r/1357654134-28538-1-git-send-email-bigeasy@linutronix.deSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      acb8fb04
  4. 05 1月, 2013 1 次提交
  5. 18 12月, 2012 9 次提交
  6. 12 12月, 2012 14 次提交
  7. 11 12月, 2012 1 次提交
    • A
      perf evsel: Introduce method to request IDs be used · 7a5a5ca5
      Arnaldo Carvalho de Melo 提交于
      When mmaping multiple events we need to find the right evsel that
      matches an event in the ring buffer.
      
      For that we need to set the PERF_FORMAT_ID bit in
      perf_event_attr.read_format so that when we read the event fds we get
      that id to then hash it and be able later to use perf_evlist__id2evsel
      to find the right evsel.
      
      We also need to set the PERF_SAMPLE_ID bit in
      perf_event_attr.sample_type to ask for that id to be stashed in each
      sample, so that we can demux it.
      
      So add a perf_evsel__set_sample_id() method to do those two things in
      one operation.
      
      Cc: David Ahern <dsahern@gmail.com>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Jiri Olsa <jolsa@redhat.com>
      Cc: Mike Galbraith <efault@gmx.de>
      Cc: Namhyung Kim <namhyung@gmail.com>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Stephane Eranian <eranian@google.com>
      Link: http://lkml.kernel.org/n/tip-1z4xcmbud30lamklfe80oopu@git.kernel.orgSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      7a5a5ca5