Messages in this thread Patch in this message | | | From | Alexey Perevalov <> | Subject | [PATCH v3 1/6] tracing/trivial: Add CLOCK_BOOTIME and CLOCK_TAI for human readable clockid trace | Date | Thu, 20 Feb 2014 12:40:28 +0400 |
| |
These clockids is also used in current hrtimer implementation.
Signed-off-by: Alexey Perevalov <a.perevalov@samsung.com> --- 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" } \ + ) #define hrmode_to_string(hrmode) \ __print_symbolic(hrmode, \ -- 1.7.9.5
| |