aboutsummaryrefslogtreecommitdiffstats
path: root/include/trace/events
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2010-05-08 06:16:11 +0200
committerFrederic Weisbecker <fweisbec@gmail.com>2010-05-09 13:45:32 +0200
commit883a2a3189dae9d2912c417e47152f51cb922a3f (patch)
tree286a31a1d86b1e49afc79f61c9b83ca81840065b /include/trace/events
parent90c0e5fc7b73d2575c7367e1da70ff9521718e5e (diff)
downloadkernel_samsung_aries-883a2a3189dae9d2912c417e47152f51cb922a3f.zip
kernel_samsung_aries-883a2a3189dae9d2912c417e47152f51cb922a3f.tar.gz
kernel_samsung_aries-883a2a3189dae9d2912c417e47152f51cb922a3f.tar.bz2
tracing: Drop lock_acquired waittime field
Drop the waittime field from the lock_acquired event, we can calculate it by substracting the lock_acquired event timestamp with the matching lock_acquire one. It is not needed and takes useless space in the traces. Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp> Cc: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/trace/events')
-rw-r--r--include/trace/events/lock.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/include/trace/events/lock.h b/include/trace/events/lock.h
index 5c1dcfc..17ca287 100644
--- a/include/trace/events/lock.h
+++ b/include/trace/events/lock.h
@@ -78,24 +78,21 @@ TRACE_EVENT(lock_contended,
);
TRACE_EVENT(lock_acquired,
- TP_PROTO(struct lockdep_map *lock, unsigned long ip, s64 waittime),
+ TP_PROTO(struct lockdep_map *lock, unsigned long ip),
- TP_ARGS(lock, ip, waittime),
+ TP_ARGS(lock, ip),
TP_STRUCT__entry(
__string(name, lock->name)
- __field(s64, wait_nsec)
__field(void *, lockdep_addr)
),
TP_fast_assign(
__assign_str(name, lock->name);
- __entry->wait_nsec = waittime;
__entry->lockdep_addr = lock;
),
- TP_printk("%p %s (%llu ns)", __entry->lockdep_addr,
- __get_str(name),
- __entry->wait_nsec)
+ TP_printk("%p %s", __entry->lockdep_addr,
+ __get_str(name))
);
#endif