1. 04 10月, 2010 1 次提交
    • S
      perf trace scripting: Fix extern struct definitions · 0f940cb7
      Stephane Eranian 提交于
      Both python_scripting_ops and perl_scripting_ops have two global definitions.
      One in trace-event-scripting.c and one in their respective scripting-engine
      modules.
      
      The issue is that depending on the linker order one definition or the other
      is chosen. One is uninitialized (bss), while the other is initialized. If
      the uninitialized version is chosen, then perf does not function properly.
      
      This patch fixes this by adding the extern prefix to the definitions in
      trace-event-scripting.c.
      
      Cc: David S. Miller <davem@davemloft.net>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Robert Richter <robert.richter@amd.com>
      LKML-Reference: <4c97e41a.078fd80a.7a8b.3cc9@mx.google.com>
      Signed-off-by: NStephane Eranian <eranian@google.com>
      Signed-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      0f940cb7
  2. 25 2月, 2010 1 次提交
  3. 24 2月, 2010 1 次提交
    • T
      perf/scripts: Move Perl scripting files to scripting-engines dir · 82d156cd
      Tom Zanussi 提交于
      Create a scripting-engines directory to contain scripting engine
      implementation code, in anticipation of the addition of new scripting
      support.  Also removes trace-event-perl.h.
      Signed-off-by: NTom Zanussi <tzanussi@gmail.com>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Steven Rostedt <rostedt@goodmis.org>
      Cc: Keiichi KII <k-keiichi@bx.jp.nec.com>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
      LKML-Reference: <1264580883-15324-5-git-send-email-tzanussi@gmail.com>
      Signed-off-by: NFrederic Weisbecker <fweisbec@gmail.com>
      82d156cd