perf scripts python: Pass event/thread/dso name and symbol info to event handler...
authorFeng Tang <feng.tang@intel.com>
Wed, 8 Aug 2012 09:57:53 +0000 (17:57 +0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 8 Aug 2012 15:48:02 +0000 (12:48 -0300)
commitfd6b858a1e110c76e701cd9972a284ed2a7bcc33
treed512d9601692f9eacdb1a3497af50ce0173fcfe3
parent73994dc158a24df4af77d0a76c9702f120f7a6ad
perf scripts python: Pass event/thread/dso name and symbol info to event handler in python

Also as suggested by Arnaldo, pack all these parameters to a dictionary,
which is more expandable for adding new parameters while keeping the
compatibility for old scripts.

Signed-off-by: Feng Tang <feng.tang@intel.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Robert Richter <robert.richter@amd.com>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1344419875-21665-4-git-send-email-feng.tang@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/scripting-engines/trace-event-python.c