diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2021-04-22 08:39:48 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-04-22 19:19:01 +0200 |
commit | fd49e8ee70b306a003323a17bbcc0633f322c135 (patch) | |
tree | be0e5f131ee5afdbaa7a6b5fc76bb36baad8c067 /include/trace/events | |
parent | KVM: SVM: Allocate SEV command structures on local stack (diff) | |
parent | svm/sev: Register SEV and SEV-ES ASIDs to the misc controller (diff) | |
download | linux-fd49e8ee70b306a003323a17bbcc0633f322c135.tar.xz linux-fd49e8ee70b306a003323a17bbcc0633f322c135.zip |
Merge branch 'kvm-sev-cgroup' into HEAD
Diffstat (limited to 'include/trace/events')
-rw-r--r-- | include/trace/events/workqueue.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/trace/events/workqueue.h b/include/trace/events/workqueue.h index 970cc2ea2850..6154a2e72bce 100644 --- a/include/trace/events/workqueue.h +++ b/include/trace/events/workqueue.h @@ -30,7 +30,7 @@ TRACE_EVENT(workqueue_queue_work, TP_STRUCT__entry( __field( void *, work ) __field( void *, function) - __field( const char *, workqueue) + __string( workqueue, pwq->wq->name) __field( unsigned int, req_cpu ) __field( unsigned int, cpu ) ), @@ -38,13 +38,13 @@ TRACE_EVENT(workqueue_queue_work, TP_fast_assign( __entry->work = work; __entry->function = work->func; - __entry->workqueue = pwq->wq->name; + __assign_str(workqueue, pwq->wq->name); __entry->req_cpu = req_cpu; __entry->cpu = pwq->pool->cpu; ), TP_printk("work struct=%p function=%ps workqueue=%s req_cpu=%u cpu=%u", - __entry->work, __entry->function, __entry->workqueue, + __entry->work, __entry->function, __get_str(workqueue), __entry->req_cpu, __entry->cpu) ); |