diff options
Diffstat (limited to 'include/trace/events/lock.h')
-rw-r--r-- | include/trace/events/lock.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/trace/events/lock.h b/include/trace/events/lock.h index 9ebd081e05..8e89baa377 100644 --- a/include/trace/events/lock.h +++ b/include/trace/events/lock.h @@ -37,7 +37,7 @@ TRACE_EVENT(lock_acquire, TP_fast_assign( __entry->flags = (trylock ? 1 : 0) | (read ? 2 : 0); - __assign_str(name, lock->name); + __assign_str(name); __entry->lockdep_addr = lock; ), @@ -59,7 +59,7 @@ DECLARE_EVENT_CLASS(lock, ), TP_fast_assign( - __assign_str(name, lock->name); + __assign_str(name); __entry->lockdep_addr = lock; ), |