Searched refs:g_trace_marker_fd (Results 1 – 1 of 1) sorted by relevance
35 static int g_trace_marker_fd = -1; variable48 if (g_trace_marker_fd == -1) { in get_trace_marker_fd()49 g_trace_marker_fd = open("/sys/kernel/tracing/trace_marker", O_CLOEXEC | O_WRONLY); in get_trace_marker_fd()50 if (g_trace_marker_fd == -1) { in get_trace_marker_fd()51 g_trace_marker_fd = open("/sys/kernel/debug/tracing/trace_marker", O_CLOEXEC | O_WRONLY); in get_trace_marker_fd()55 return g_trace_marker_fd; in get_trace_marker_fd()