diff options
Diffstat (limited to 'include/trace/events/rseq.h')
| -rw-r--r-- | include/trace/events/rseq.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/trace/events/rseq.h b/include/trace/events/rseq.h index a04a64bc1a00..ce85d650bf4b 100644 --- a/include/trace/events/rseq.h +++ b/include/trace/events/rseq.h @@ -16,13 +16,18 @@ TRACE_EVENT(rseq_update, TP_STRUCT__entry( __field(s32, cpu_id) + __field(s32, node_id) + __field(s32, mm_cid) ), TP_fast_assign( - __entry->cpu_id = raw_smp_processor_id(); + __entry->cpu_id = t->rseq.ids.cpu_id; + __entry->node_id = cpu_to_node(__entry->cpu_id); + __entry->mm_cid = t->rseq.ids.mm_cid; ), - TP_printk("cpu_id=%d", __entry->cpu_id) + TP_printk("cpu_id=%d node_id=%d mm_cid=%d", __entry->cpu_id, + __entry->node_id, __entry->mm_cid) ); TRACE_EVENT(rseq_ip_fixup, |
