* Ankita Garg <ankita@xxxxxxxxxx> wrote: > Hi, > > The conversion of task states to a character in the sched_switch > tracer (part of latency tracer infrastructure), seems to be incorrect. > We currently do it by indexing into the state_to_char array using the > state value. The state values do not map directly into the array index > and are thus incorrect. The following patch addresses this issue. This > is also what is being done even in the show_task() routine in > kernel/sched.c > > The patch has been compile and run tested. > > Signed-off-by: Ankita Garg <ankita@xxxxxxxxxx> thanks Ankita, good catch. I applied your patch to sched-devel/latest as well (which carries the ftrace patches, and which patches -rt is tracking). You can track this upstream tree via: http://people.redhat.com/mingo/sched-devel.git/README Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html