X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Flttv%2Fstats.c;h=7ffc37bd10acaf6727431608a939ae57f64ecedb;hb=b895e4db7d86af2af0b536b97c3fdf563f348ad1;hp=0fd94a009acd18ea502c28913288453b2659d4ed;hpb=f63ebe5196f36fcf40385d29cfc37288c4d70817;p=lttv.git diff --git a/ltt/branches/poly/lttv/lttv/stats.c b/ltt/branches/poly/lttv/lttv/stats.c index 0fd94a00..7ffc37bd 100644 --- a/ltt/branches/poly/lttv/lttv/stats.c +++ b/ltt/branches/poly/lttv/lttv/stats.c @@ -694,11 +694,11 @@ static gboolean before_schedchange(void *hook_data, void *call_data) guint pid_in, pid_out; - gint state_out; + gint64 state_out; pid_out = ltt_event_get_unsigned(e, thf->f1); pid_in = ltt_event_get_unsigned(e, thf->f2); - state_out = ltt_event_get_int(e, thf->f3); + state_out = ltt_event_get_long_int(e, thf->f3); /* compute the time for the process to schedule out */ mode_change(tfcs); @@ -718,13 +718,13 @@ static gboolean after_schedchange(void *hook_data, void *call_data) guint pid_in, pid_out; - gint state_out; + gint64 state_out; LttvProcessState *process; pid_out = ltt_event_get_unsigned(e, thf->f1); pid_in = ltt_event_get_unsigned(e, thf->f2); - state_out = ltt_event_get_int(e, thf->f3); + state_out = ltt_event_get_long_int(e, thf->f3); /* get the information for the process scheduled in */ guint cpu = tfcs->parent.cpu;