mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 08:31:13 +00:00
perf script python: Correct handler check and spelling errors
Correct the checking for handler returned by PyDict_GetItemString(), also fix some spelling error and remove some data code in event_analyzing_sample.py, as suggested by Namhyung Kim. v2: restore back the wrongly removed trace_unhandled() func Signed-off-by: Feng Tang <feng.tang@intel.com> Acked-by: Namhyung Kim <namhyung@kernel.org> Cc: Andi Kleen <andi@firstfloor.org> Cc: David Ahern <dsahern@gmail.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> 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/20120809134613.067104c4@feng-i7 Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
0076d546b4
commit
87b6a3ad40
3 changed files with 18 additions and 24 deletions
|
@ -1,12 +1,12 @@
|
|||
# EventClass.py
|
||||
#
|
||||
# This is a libray defining some events typs classes, which could
|
||||
# This is a library defining some events types classes, which could
|
||||
# be used by other scripts to analyzing the perf samples.
|
||||
#
|
||||
# Currently there are just a few classes defined for examples,
|
||||
# PerfEvent is the base class for all perf event sample, PebsEvent
|
||||
# is a HW base Intel x86 PEBS event, and user could add more SW/HW
|
||||
# event classes based on requriements.
|
||||
# event classes based on requirements.
|
||||
|
||||
import struct
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue