1. 03 8月, 2016 1 次提交
  2. 19 7月, 2016 1 次提交
  3. 14 7月, 2016 1 次提交
  4. 13 7月, 2016 4 次提交
  5. 24 3月, 2016 1 次提交
  6. 09 3月, 2016 1 次提交
    • J
      tools: Copy hashtable.h into tools directory · 1698872b
      Josh Poimboeuf 提交于
      Copy hashtable.h from include/linux/tools.h.  It's needed by objtool in
      the next patch in the series.
      
      Add some includes that it needs, and remove references to
      kernel-specific features like RCU and __read_mostly.
      
      Also change some if its dependency headers' includes to use quotes
      instead of brackets so gcc can find them.
      Signed-off-by: NJosh Poimboeuf <jpoimboe@redhat.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Andy Lutomirski <luto@kernel.org>
      Cc: Arnaldo Carvalho de Melo <acme@infradead.org>
      Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
      Cc: Bernd Petrovitsch <bernd@petrovitsch.priv.at>
      Cc: Borislav Petkov <bp@alien8.de>
      Cc: Chris J Arges <chris.j.arges@canonical.com>
      Cc: Jiri Slaby <jslaby@suse.cz>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Michal Marek <mmarek@suse.cz>
      Cc: Namhyung Kim <namhyung@gmail.com>
      Cc: Pedro Alves <palves@redhat.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: live-patching@vger.kernel.org
      Link: http://lkml.kernel.org/r/be3bef72f6540d8a510515408119d968a0e18179.1457502970.git.jpoimboe@redhat.comSigned-off-by: NIngo Molnar <mingo@kernel.org>
      1698872b
  7. 12 1月, 2016 1 次提交
    • J
      tools: Make list.h self-sufficient · d1b39d41
      Josh Poimboeuf 提交于
      Commit 7f5f873c ("rculist: Use WRITE_ONCE() when deleting from
      reader-visible list") added the use of the WRITE_ONCE macro to the
      kernel version of list.h, which broke the stacktool build because the
      tools list.h includes the kernel list.h.
      
      Avoid this type of situation in the future and make list.h
      self-sufficient by copying the kernel list.h routines directly into
      tools list.h.
      
      This is a straight copy except for adjustments to the include statements
      and copying of the tools-specific list routines (list_del_range and
      list_for_each_from).
      Signed-off-by: NJosh Poimboeuf <jpoimboe@redhat.com>
      Cc: "H. Peter Anvin" <hpa@zytor.com>
      Cc: Andi Kleen <andi@firstfloor.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Andy Lutomirski <luto@kernel.org>
      Cc: Bernd Petrovitsch <bernd@petrovitsch.priv.at>
      Cc: Borislav Petkov <bp@alien8.de>
      Cc: Chris J Arges <chris.j.arges@canonical.com>
      Cc: Jiri Slaby <jslaby@suse.cz>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Michal Marek <mmarek@suse.cz>
      Cc: Namhyung Kim <namhyung@gmail.com>
      Cc: Pedro Alves <palves@redhat.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: live-patching@vger.kernel.org
      Cc: x86@kernel.org
      Link: http://lkml.kernel.org/r/59cdc19c6589d1b5ef43d83b0e2d5a4a40301374.1450442274.git.jpoimboe@redhat.comSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      d1b39d41
  8. 08 1月, 2016 1 次提交
  9. 17 12月, 2015 1 次提交
  10. 19 11月, 2015 2 次提交
  11. 12 11月, 2015 1 次提交
  12. 13 10月, 2015 1 次提交
    • J
      tools include: Fix strict-aliasing rules breakage · c95f3432
      Jiri Olsa 提交于
      Vinson reported build breakage with gcc 4.4 due to strict-aliasing.
      
         CC       util/annotate.o
       cc1: warnings being treated as errors
       util/annotate.c: In function ‘disasm__purge’:
       linux-next/tools/include/linux/compiler.h:66: error: dereferencing
       pointer ‘res.41’ does break strict-aliasing rules
      
      The reason is READ_ONCE/WRITE_ONCE code we took from kernel sources.  They
      intentionaly break aliasing rules. While this is ok for kernel because it's
      built with -fno-strict-aliasing, it breaks perf which is build with
      -Wstrict-aliasing=3.
      
      Using extra __may_alias__ type to allow aliasing in this case.
      Reported-and-tested-by: NVinson Lee <vlee@twopensource.com>
      Signed-off-by: NJiri Olsa <jolsa@kernel.org>
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: Andi Kleen <ak@linux.intel.com>
      Cc: Martin Liska <mliska@suse.cz>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: Rabin Vincent <rabin@rab.in>
      Cc: linux-next@vger.kernel.org
      Link: http://lkml.kernel.org/r/20151013085214.GB2705@krava.brq.redhat.comSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      c95f3432
  13. 01 10月, 2015 1 次提交
  14. 15 9月, 2015 1 次提交
  15. 03 9月, 2015 1 次提交
    • H
      perf tools: Copy linux/filter.h to tools/include · dabf626f
      He Kuang 提交于
      This patch copies filter.h from include/linux/kernel.h to
      tools/include/linux/filter.h to enable other libraries to use macros in it,
      like libbpf which will be introduced by further patches.
      
      Currently, the filter.h copy only contains the useful macros needed by
      libbpf for not introducing too much dependence.
      
      tools/perf/MANIFEST is also updated for 'make perf-*-src-pkg'.
      
      One change:
        The 'imm' field of BPF_EMIT_CALL becomes ((FUNC) - BPF_FUNC_unspec) to
        suit user space code generator.
      Signed-off-by: NHe Kuang <hekuang@huawei.com>
      Cc: David Ahern <dsahern@gmail.com>
      Cc: Alexei Starovoitov <ast@plumgrid.com>
      Cc: Brendan Gregg <brendan.d.gregg@gmail.com>
      Cc: Daniel Borkmann <daniel@iogearbox.net>
      Cc: David Ahern <dsahern@gmail.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: Kaixu Xia <xiakaixu@huawei.com>
      Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: Wang Nan <wangnan0@huawei.com>
      Cc: Zefan Li <lizefan@huawei.com>
      Cc: pi3orama@163.com
      Link: http://lkml.kernel.org/r/1440822125-52691-22-git-send-email-wangnan0@huawei.comSigned-off-by: NWang Nan <wangnan0@huawei.com>
      [ Removed stylistic changes, so that a diff to the original file gets reduced ]
      Signed-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      dabf626f
  16. 25 8月, 2015 1 次提交
  17. 06 7月, 2015 4 次提交
  18. 03 6月, 2015 2 次提交
  19. 18 5月, 2015 1 次提交
  20. 09 5月, 2015 2 次提交
  21. 17 1月, 2015 1 次提交
  22. 17 12月, 2014 5 次提交
  23. 05 5月, 2014 1 次提交
  24. 02 5月, 2014 2 次提交
  25. 18 2月, 2014 1 次提交
  26. 13 1月, 2014 1 次提交