projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
statistics working : still must add stats per time feature to graphical view
[lttv.git]
/
ltt
/
branches
/
poly
/
lttv
/
lttv
/
tracecontext.c
diff --git
a/ltt/branches/poly/lttv/lttv/tracecontext.c
b/ltt/branches/poly/lttv/lttv/tracecontext.c
index 58310b4090f8453558dfd2a1f522e4d0e4856b95..6f1e7b58a334665c1f1254cb9204d67c3bbb9c23 100644
(file)
--- a/
ltt/branches/poly/lttv/lttv/tracecontext.c
+++ b/
ltt/branches/poly/lttv/lttv/tracecontext.c
@@
-1007,7
+1007,7
@@
lttv_trace_find_hook(LttTrace *t, GQuark facility, GQuark event,
fac_id = g_array_index(facilities, guint, i);
f = ltt_trace_get_facility_by_num(t, fac_id);
fac_id = g_array_index(facilities, guint, i);
f = ltt_trace_get_facility_by_num(t, fac_id);
- et = ltt_facility_eventtype_get_by_name(f,
ltt_eventtype_name(et)
);
+ et = ltt_facility_eventtype_get_by_name(f,
event
);
if(unlikely(et == NULL)) goto event_error;
thf = &g_array_index(th->fac_index, LttvTraceHookByFacility, fac_id);
if(unlikely(et == NULL)) goto event_error;
thf = &g_array_index(th->fac_index, LttvTraceHookByFacility, fac_id);
@@
-1037,8
+1037,8
@@
lttv_trace_find_hook(LttTrace *t, GQuark facility, GQuark event,
type_error:
goto free;
event_error:
type_error:
goto free;
event_error:
- g_error("Event type
%s does not exist
",
- g_quark_to_string(
ltt_eventtype_name(et)
));
+ g_error("Event type
does not exist for event %s
",
+ g_quark_to_string(
event
));
goto free;
facility_error:
g_error("No %s facility", g_quark_to_string(facility));
goto free;
facility_error:
g_error("No %s facility", g_quark_to_string(facility));
This page took
0.022638 seconds
and
4
git commands to generate.