Files
linux-st/kernel
Thomas Gleixner 2c7eea4c62 tracing: replace the crude (unsigned) -1 hackery
Impact: cleanup

The command line recorder uses (unsigned) -1 to mark non mapped
entries in the pid to command line maps. The validity check is
completely unintuitive: idx >= SAVED_CMDLINES

There is no need for such casting games. Use a constant to mark
unmapped entries and check for that constant to make the code readable
and understandable.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Steven Rostedt <srostedt@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-03-18 10:10:17 +01:00
..
2009-02-08 10:00:26 -08:00
2009-02-18 15:37:54 -08:00
2009-02-13 09:44:22 +01:00
2009-02-11 18:24:08 +01:00
2009-02-22 20:05:19 +01:00
2009-02-21 14:17:17 -08:00
2009-02-10 00:41:54 +01:00