Home
last modified time | relevance | path

Searched refs:trace_clock (Results 1 – 3 of 3) sorted by relevance

/tools/testing/selftests/ftrace/test.d/00basic/
Dbasic3.tc3 test -f trace_clock
4 for c in `cat trace_clock | tr -d \[\]`; do
5 echo $c > trace_clock
6 grep '\['$c'\]' trace_clock
8 echo local > trace_clock
/tools/lib/traceevent/
Devent-parse.h534 char *trace_clock; member
624 int pevent_register_trace_clock(struct pevent *pevent, const char *trace_clock);
Devent-parse.c323 int pevent_register_trace_clock(struct pevent *pevent, const char *trace_clock) in pevent_register_trace_clock() argument
325 pevent->trace_clock = strdup(trace_clock); in pevent_register_trace_clock()
326 if (!pevent->trace_clock) { in pevent_register_trace_clock()
5319 static bool is_timestamp_in_us(char *trace_clock, bool use_trace_clock) in is_timestamp_in_us() argument
5324 if (!strcmp(trace_clock, "local") || !strcmp(trace_clock, "global") in is_timestamp_in_us()
5325 || !strcmp(trace_clock, "uptime") || !strcmp(trace_clock, "perf")) in is_timestamp_in_us()
5348 use_usec_format = is_timestamp_in_us(pevent->trace_clock, in pevent_print_event()
6708 free(pevent->trace_clock); in pevent_free()