diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2013-03-28 19:17:02 -0400 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2013-03-28 19:17:02 -0400 |
commit | 157842c2e9dc7bb794ebaa84ef1c39037d15cc54 (patch) | |
tree | b533246ace42f83f1f1ead6b047729b5ea0a0bed | |
parent | b9f67e64d84081f7dbba8dc380af8c39ac8d0a37 (diff) |
resolve kshark rebase conflicts
-rw-r--r-- | include/litmus/sched_trace.h | 1 | ||||
-rw-r--r-- | include/trace/ftrace.h | 5 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/litmus/sched_trace.h b/include/litmus/sched_trace.h index 9a7e6fa1e6b6..bc86f184be2c 100644 --- a/include/litmus/sched_trace.h +++ b/include/litmus/sched_trace.h | |||
@@ -435,7 +435,6 @@ feather_callback void do_sched_trace_lock(unsigned long id, | |||
435 | SCHED_TRACE3(SCHED_TRACE_BASE_ID + 21, do_sched_trace_lock, t, lock_id, acquired) | 435 | SCHED_TRACE3(SCHED_TRACE_BASE_ID + 21, do_sched_trace_lock, t, lock_id, acquired) |
436 | 436 | ||
437 | 437 | ||
438 | |||
439 | #define sched_trace_quantum_boundary() /* NOT IMPLEMENTED */ | 438 | #define sched_trace_quantum_boundary() /* NOT IMPLEMENTED */ |
440 | 439 | ||
441 | #endif /* __KERNEL__ */ | 440 | #endif /* __KERNEL__ */ |
diff --git a/include/trace/ftrace.h b/include/trace/ftrace.h index 533c49f48047..4d6f3474e8fa 100644 --- a/include/trace/ftrace.h +++ b/include/trace/ftrace.h | |||
@@ -17,6 +17,7 @@ | |||
17 | */ | 17 | */ |
18 | 18 | ||
19 | #include <linux/ftrace_event.h> | 19 | #include <linux/ftrace_event.h> |
20 | #include <litmus/litmus.h> | ||
20 | 21 | ||
21 | /* | 22 | /* |
22 | * DECLARE_EVENT_CLASS can be used to add a generic function | 23 | * DECLARE_EVENT_CLASS can be used to add a generic function |
@@ -54,7 +55,7 @@ | |||
54 | #define __string(item, src) __dynamic_array(char, item, -1) | 55 | #define __string(item, src) __dynamic_array(char, item, -1) |
55 | 56 | ||
56 | #undef TP_STRUCT__entry | 57 | #undef TP_STRUCT__entry |
57 | #define TP_STRUCT__entry(args...) args | 58 | #define TP_STRUCT__entry(args...) args __field( unsigned long long, __rt_ts ) |
58 | 59 | ||
59 | #undef DECLARE_EVENT_CLASS | 60 | #undef DECLARE_EVENT_CLASS |
60 | #define DECLARE_EVENT_CLASS(name, proto, args, tstruct, assign, print) \ | 61 | #define DECLARE_EVENT_CLASS(name, proto, args, tstruct, assign, print) \ |
@@ -507,7 +508,7 @@ static inline notrace int ftrace_get_offsets_##call( \ | |||
507 | strcpy(__get_str(dst), src); | 508 | strcpy(__get_str(dst), src); |
508 | 509 | ||
509 | #undef TP_fast_assign | 510 | #undef TP_fast_assign |
510 | #define TP_fast_assign(args...) args | 511 | #define TP_fast_assign(args...) args; __entry->__rt_ts = litmus_clock(); |
511 | 512 | ||
512 | #undef TP_perf_assign | 513 | #undef TP_perf_assign |
513 | #define TP_perf_assign(args...) | 514 | #define TP_perf_assign(args...) |