Re: [PATCH v3 1/6] tracing/trivial: Add CLOCK_BOOTIME and CLOCK_TAI for human readable clockid trace

From: Thomas Gleixner
Date: Thu Feb 20 2014 - 06:01:09 EST




On Thu, 20 Feb 2014, Alexey Perevalov wrote:

> These clockids is also used in current hrtimer implementation.
>
> Signed-off-by: Alexey Perevalov <a.perevalov@xxxxxxxxxxx>
> ---
> include/trace/events/timer.h | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/include/trace/events/timer.h b/include/trace/events/timer.h
> index 185b2c6..547b79f 100644
> --- a/include/trace/events/timer.h
> +++ b/include/trace/events/timer.h
> @@ -11,7 +11,10 @@
> #define clockid_to_string(clockid) \
> __print_symbolic(clockid, \
> { CLOCK_MONOTONIC, "CLOCK_MONOTONIC" }, \
> - { CLOCK_REALTIME, "CLOCK_REALTIME" })
> + { CLOCK_REALTIME, "CLOCK_REALTIME" }, \
> + { CLOCK_BOOTTIME, "CLOCK_BOOTTIME" }, \
> + { CLOCK_TAI, "CLOCK_TAI" } \
> + )

patching file include/trace/events/timer.h
Hunk #1 FAILED at 11.
1 out of 1 hunk FAILED -- rejects in file include/trace/events/timer.h

Brilliant stuff this.




--
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/