aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r--kernel/trace/trace.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
index 2a6d0325a761..477341710ebf 100644
--- a/kernel/trace/trace.h
+++ b/kernel/trace/trace.h
@@ -273,6 +273,7 @@ struct trace_array {
273 /* function tracing enabled */ 273 /* function tracing enabled */
274 int function_enabled; 274 int function_enabled;
275#endif 275#endif
276 int time_stamp_abs_ref;
276}; 277};
277 278
278enum { 279enum {
@@ -286,6 +287,8 @@ extern struct mutex trace_types_lock;
286extern int trace_array_get(struct trace_array *tr); 287extern int trace_array_get(struct trace_array *tr);
287extern void trace_array_put(struct trace_array *tr); 288extern void trace_array_put(struct trace_array *tr);
288 289
290extern int tracing_set_time_stamp_abs(struct trace_array *tr, bool abs);
291
289/* 292/*
290 * The global tracer (top) should be the first trace array added, 293 * The global tracer (top) should be the first trace array added,
291 * but we check the flag anyway. 294 * but we check the flag anyway.