Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 146052
b: refs/heads/master
c: 7e7ca9a
h: refs/heads/master
v: v3
  • Loading branch information
Frederic Weisbecker authored and Ingo Molnar committed Apr 22, 2009
1 parent 426758c commit b86d1c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 9cbf117662e24c6d33245666804487f92c21b59d
refs/heads/master: 7e7ca9a22dbbc5c91763cd16923c7509918709b6
6 changes: 3 additions & 3 deletions trunk/include/trace/events/lockdep.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,16 @@ TRACE_EVENT(lock_acquired,
TP_ARGS(lock, ip, waittime),

TP_STRUCT__entry(
__field(const char *, name)
__string(name, lock->name)
__field(unsigned long, wait_usec)
__field(unsigned long, wait_nsec_rem)
),
TP_fast_assign(
__entry->name = lock->name;
__assign_str(name, lock->name);
__entry->wait_nsec_rem = do_div(waittime, NSEC_PER_USEC);
__entry->wait_usec = (unsigned long) waittime;
),
TP_printk("%s (%lu.%03lu us)", __entry->name, __entry->wait_usec,
TP_printk("%s (%lu.%03lu us)", __get_str(name), __entry->wait_usec,
__entry->wait_nsec_rem)
);

Expand Down

0 comments on commit b86d1c3

Please sign in to comment.