aboutsummaryrefslogtreecommitdiff
path: root/timechart/model.py
diff options
context:
space:
mode:
authorPierre Tardy <pierre.tardy@intel.com>2011-03-22 13:57:58 +0100
committerPierre Tardy <pierre.tardy@intel.com>2011-03-22 13:57:58 +0100
commit354ff3008d3c80febe06dcac6785dcc9143ac939 (patch)
tree6bea095730b11cc9fe56c8ba13e81a6f4e5043f4 /timechart/model.py
parent6d0bfb695277b6e137246643f259df1a1485d83d (diff)
function_traces: use do_function_* instead of do_event_* for function tracesHEADmaster
This avoids pytimechart to call event plugins when encountering function traces with same name and not finding expected events attributes. Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
Diffstat (limited to 'timechart/model.py')
-rw-r--r--timechart/model.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/timechart/model.py b/timechart/model.py
index 99ee223..7d073cb 100644
--- a/timechart/model.py
+++ b/timechart/model.py
@@ -451,7 +451,7 @@ class tcProject(HasTraits):
self.linenumbers.append(event.linenumber)
self.timestamps.append(event.timestamp)
if event.event=='function':
- callback = "do_event_"+event.callee
+ callback = "do_function_"+event.callee
if self.plugin_methods.has_key(callback):
try:
self.plugin_methods[callback](self,event)