1. 14 4月, 2015 3 次提交
  2. 19 3月, 2015 1 次提交
    • S
      selftests: Fix build failures when invoked from kselftest target · 67d8712d
      Shuah Khan 提交于
      Several tests that rely on implicit build rules fail to build,
      when invoked from the main Makefile kselftest target. These
      failures are due to --no-builtin-rules and --no-builtin-variables
      options set in the inherited MAKEFLAGS.
      
      --no-builtin-rules eliminates the use of built-in implicit rules
      and --no-builtin-variables is for not defining built-in variables.
      These two options override the use of implicit rules resulting in
      build failures. In addition, inherited LDFLAGS result in build
      failures and there is no need to define LDFLAGS.  Clear LDFLAGS
      and MAKEFLAG when make is invoked from the main Makefile kselftest
      target. Fixing this at selftests Makefile avoids changing the main
      Makefile and keeps this change self contained at selftests level.
      Signed-off-by: NShuah Khan <shuahkh@osg.samsung.com>
      Acked-by: NMichael Ellerman <mpe@ellerman.id.au>
      67d8712d
  3. 12 3月, 2015 2 次提交
  4. 06 3月, 2015 1 次提交
    • A
      perf annotate: Fix fallback to unparsed disassembler line · 3995614d
      Arnaldo Carvalho de Melo 提交于
      When annotating source/disasm lines the perf tools parse the output of
      objdump, trying to provide augmented output that allows navigating
      jumps, calls, etc.
      
      But when a line output by objdump can't be parsed the annotation code
      falls back to just presenting the unparsed line.
      
      When fixing a leak in the 0fb9f2aa commit ("perf annotate: Fix
      memory leaks in LOCK handling") we failed to take that into account and
      instead tried to free one of the data structures that should be freed
      only when successfully allocated, oops, segfault.
      
      There was a change in the way the objdump output for lock prefixed
      instructions is formatted that lead the relevant parser to fail to grok
      it.
      
      At least RHEL7 works ok, but Fedora 20 segfaults.
      
      Fix it by making the ins__delete() destructor work like the most basic
      destructor: free().
      
      Namely make it accept a NULL pointer and when handling it just do
      nothing.
      
      Further investigation is needed to figure out the nature of the objdump
      output change so as to make the parser grok it.
      Reported-by: NLinus Torvalds <torvalds@linux-foundation.org>
      Cc: David Ahern <dsahern@gmail.com>
      Cc: Jiri Olsa <jolsa@redhat.com>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: Rabin Vincent <rabin@rab.in>
      Link: http://lkml.kernel.org/n/tip-7wsy0zo292pif0yjoqpfryrz@git.kernel.orgSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      3995614d
  5. 28 2月, 2015 8 次提交
  6. 26 2月, 2015 4 次提交
  7. 25 2月, 2015 2 次提交
  8. 23 2月, 2015 1 次提交
  9. 13 2月, 2015 11 次提交
  10. 12 2月, 2015 1 次提交
  11. 11 2月, 2015 6 次提交