1. 24 Mar, 2017 2 commits
    • Arnaldo Carvalho de Melo's avatar
      perf trace: Check for vfs_getname.pathname length · 39f0e7a8
      Arnaldo Carvalho de Melo authored
      It shouldn't be zero, but if the 'perf probe' on getname_flags() (or
      elsewhere in the future we need to probe to catch the pathname for
      syscalls like 'open' being copied from userspace to the kernel) is
      misplaced somehow, then we will end up not allocating space and trying
      to copy the "" empty string to ttrace->filename.name, causing a
      segfault, fix it.
      
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: David Ahern <dsahern@gmail.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Wang Nan <wangnan0@huawei.com>
      Link: http://lkml.kernel.org/n/tip-c4f1t6sx1nczuzop19r5si5s@git.kernel.orgSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      39f0e7a8
    • Ingo Molnar's avatar
      Merge tag 'perf-core-for-mingo-4.12-20170324' of... · e3a6a624
      Ingo Molnar authored
      Merge tag 'perf-core-for-mingo-4.12-20170324' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
      
      Pull perf/core improvements and fixes from Arnaldo Carvalho de Melo:
      
      User visible changes:
      
       - Allow suppressing 'uncore_' when specifying PMU events (Andi Kleen)
      
       - Collapse identically named PMU events in 'perf stat', allow
         not merging it via --no-merge (Andi Kleen)
      
      Fixes:
      
       - Use more precise 'grep -v' to suppress unwanted 'objdump -dS'
         disassembly output to not ditch line:number lines needed by
         'perf annotate --print-lines' logic (Taeung Song)
      
      Infrastructure changes:
      
       - SDT (Statically Defined Tracing)/uprobes_events arguments improvements
         (Alexis Berlemont, Ravi Bangoria)
      
       - Improvements for the handling of JSON described vendor events,
         including having an expression parser to calculate metrics
         from multiple vendor events (Andi Kleen)
      
       - Update Intel JSON vendor event files (Andi Kleen)
      
       - Restore error reporting in 'perf probe -d' when none of the events
         requested to be deleted exist. (Kefeng Wang)
      
       - Bump MAX_CMDLEN in 'perf probe' to match what the kernel accepts
         (Ravi Bangoria)
      Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      e3a6a624
  2. 23 Mar, 2017 7 commits
  3. 21 Mar, 2017 14 commits
  4. 20 Mar, 2017 4 commits
  5. 17 Mar, 2017 7 commits
  6. 16 Mar, 2017 6 commits