Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 119155
b: refs/heads/master
c: 47e74f2
h: refs/heads/master
i:
  119153: 474fe13
  119151: 4a0fbd6
v: v3
  • Loading branch information
Steven Rostedt authored and Ingo Molnar committed Nov 12, 2008
1 parent 5c97acb commit c9a03d2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c1e7abbc7afc97367cd77c8f2895c2169a8f9c87
refs/heads/master: 47e74f2ba8fbf9fb1378e2524e6cfdc2fb37f160
8 changes: 7 additions & 1 deletion trunk/kernel/trace/ring_buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,14 @@ void tracing_off(void)
/* FIXME!!! */
u64 ring_buffer_time_stamp(int cpu)
{
u64 time;

preempt_disable_notrace();
/* shift to debug/test normalization and TIME_EXTENTS */
return sched_clock() << DEBUG_SHIFT;
time = sched_clock() << DEBUG_SHIFT;
preempt_enable_notrace();

return time;
}

void ring_buffer_normalize_time_stamp(int cpu, u64 *ts)
Expand Down

0 comments on commit c9a03d2

Please sign in to comment.