1. 04 Oct, 2010 1 commit
    • Stephane Eranian's avatar
      perf_events: Fix invalid pointer when pid is invalid · 540804b5
      Stephane Eranian authored
      This patch fixes an error in perf_event_open() when the pid
      provided by the user is invalid. find_lively_task_by_vpid()
      does not return NULL on error but an error code. Without the
      fix the error code was silently passed to find_get_context()
      which would eventually cause a invalid pointer dereference.
      Signed-off-by: default avatarStephane Eranian <eranian@google.com>
      Cc: peterz@infradead.org
      Cc: paulus@samba.org
      Cc: davem@davemloft.net
      Cc: fweisbec@gmail.com
      Cc: perfmon2-devel@lists.sf.net
      Cc: eranian@gmail.com
      Cc: robert.richter@amd.com
      LKML-Reference: <4ca9a5d1.e8e9d80a.3dbb.ffff8f2e@mx.google.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      540804b5
  2. 24 Sep, 2010 2 commits
    • Ingo Molnar's avatar
      jump label: Fix GCC feature check when distcc is used · d6dad199
      Ingo Molnar authored
      The following build bug occurs on distcc builds:
      
         CC      arch/x86/kernel/asm-offsets.s
       In file included from include/linux/module.h:24,
                        from include/linux/crypto.h:22,
                        from arch/x86/kernel/asm-offsets_64.c:9,
                        from arch/x86/kernel/asm-offsets.c:5:
       include/trace/events/module.h: In function 'trace_module_load':
       include/trace/events/module.h:18: error: expected '(' before 'goto'
       include/trace/events/module.h:18: error: expected identifier or '*' before '(' token
      
      It triggers because distcc is invoked by turning $CC into "distcc gcc",
      but gcc-goto.sh check script was using $1 not $@ to expand parameters.
      
      Cc: Jason Baron <jbaron@redhat.com>
      Cc: Steven Rostedt <rostedt@goodmis.org>
      LKML-Reference: <20100923034910.867858597@goodmis.org>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      d6dad199
    • Ingo Molnar's avatar
      Merge branch 'tip/perf/core' of... · a5a2bad5
      Ingo Molnar authored
      Merge branch 'tip/perf/core' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace into perf/core
      a5a2bad5
  3. 23 Sep, 2010 2 commits
  4. 22 Sep, 2010 20 commits
  5. 21 Sep, 2010 15 commits