[PATCH 0/1] tracing/sched: Fix task states in sched_switch event
From: Carsten Emde
Date: Sun May 16 2010 - 18:25:31 EST
Hi Ingo,
> The whole enumeration there is pointless in that .c file - it tells nothing
> to the code reader.
> If it cannot be expressed in a meaningful way then introduce
> TASK_STATE_STRINGS_INIT construct that is defined next to the strings (in a
> .h file or so) - that way it's a coherent whole.
The updated patch
- has all definitions at a common place,
- adapts the related comment,
- makes the string array declaration in fs/proc/array.c a one-liner.
Carsten.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/