X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmain%2Fstats.c;h=8415b4e42218d215458dec1be2a9cd391cfc2deb;hb=2a2fa4f0852b2a2701733c370059bad8aa000b03;hp=0c68d37715d9f5304b1252b5da4a5ef94b505e4d;hpb=efde9138bd61f0ce9cabb3f2dcc0d0040eaf35ed;p=lttv.git diff --git a/ltt/branches/poly/lttv/main/stats.c b/ltt/branches/poly/lttv/main/stats.c index 0c68d377..8415b4e4 100644 --- a/ltt/branches/poly/lttv/main/stats.c +++ b/ltt/branches/poly/lttv/main/stats.c @@ -19,6 +19,7 @@ #include #include +#include #include #include #include @@ -478,7 +479,7 @@ gboolean before_schedchange(void *hook_data, void *call_data) /* get the information for the process scheduled in */ - process = lttv_state_find_process(&(tfcs->parent), pid_in); + process = lttv_state_find_process_or_create(&(tfcs->parent), pid_in); find_event_tree(tfcs, process->pid_time, tfcs->parent.cpu_name, process->state->t, process->state->n, &(tfcs->current_events_tree), @@ -815,7 +816,7 @@ lttv_stats_remove_event_hooks(LttvTracesetStats *self) hook.id), hook.h, &g_array_index(after_hooks, LttvTraceHook, k)); } } - g_critical("lttv_stats_remove_event_hooks()"); + g_debug("lttv_stats_remove_event_hooks()"); g_array_free(before_hooks, TRUE); g_array_free(after_hooks, TRUE); }