projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix eventview trap handling
[lttv.git]
/
trunk
/
lttv
/
lttv
/
modules
/
gui
/
resourceview
/
eventhooks.c
diff --git
a/trunk/lttv/lttv/modules/gui/resourceview/eventhooks.c
b/trunk/lttv/lttv/modules/gui/resourceview/eventhooks.c
index 563fc613249f32b7817cfa319c9f52cbda4a22fb..c6cb2550d8f41f7d44722535b28d14abab8a178c 100644
(file)
--- a/
trunk/lttv/lttv/modules/gui/resourceview/eventhooks.c
+++ b/
trunk/lttv/lttv/modules/gui/resourceview/eventhooks.c
@@
-1201,6
+1201,9
@@
int before_execmode_hook_trap(void *hook_data, void *call_data)
|| minfo->name == LTT_EVENT_PAGE_FAULT_EXIT
|| minfo->name == LTT_EVENT_PAGE_FAULT_NOSEM_EXIT) {
trap = ts->cpu_states[cpu].last_trap;
+ /* Handle case where a trace starts with a trap exit event */
+ if (trap == -1)
+ return 0;
} else
return 0;
This page took
0.023491 seconds
and
4
git commands to generate.