diff options
Diffstat (limited to 'include/trace')
| -rw-r--r-- | include/trace/events/mce.h | 8 | ||||
| -rw-r--r-- | include/trace/events/module.h | 5 | ||||
| -rw-r--r-- | include/trace/events/skb.h | 4 |
3 files changed, 8 insertions, 9 deletions
diff --git a/include/trace/events/mce.h b/include/trace/events/mce.h index 7eee77895cb..4cbbcef6baa 100644 --- a/include/trace/events/mce.h +++ b/include/trace/events/mce.h | |||
| @@ -17,36 +17,36 @@ TRACE_EVENT(mce_record, | |||
| 17 | TP_STRUCT__entry( | 17 | TP_STRUCT__entry( |
| 18 | __field( u64, mcgcap ) | 18 | __field( u64, mcgcap ) |
| 19 | __field( u64, mcgstatus ) | 19 | __field( u64, mcgstatus ) |
| 20 | __field( u8, bank ) | ||
| 21 | __field( u64, status ) | 20 | __field( u64, status ) |
| 22 | __field( u64, addr ) | 21 | __field( u64, addr ) |
| 23 | __field( u64, misc ) | 22 | __field( u64, misc ) |
| 24 | __field( u64, ip ) | 23 | __field( u64, ip ) |
| 25 | __field( u8, cs ) | ||
| 26 | __field( u64, tsc ) | 24 | __field( u64, tsc ) |
| 27 | __field( u64, walltime ) | 25 | __field( u64, walltime ) |
| 28 | __field( u32, cpu ) | 26 | __field( u32, cpu ) |
| 29 | __field( u32, cpuid ) | 27 | __field( u32, cpuid ) |
| 30 | __field( u32, apicid ) | 28 | __field( u32, apicid ) |
| 31 | __field( u32, socketid ) | 29 | __field( u32, socketid ) |
| 30 | __field( u8, cs ) | ||
| 31 | __field( u8, bank ) | ||
| 32 | __field( u8, cpuvendor ) | 32 | __field( u8, cpuvendor ) |
| 33 | ), | 33 | ), |
| 34 | 34 | ||
| 35 | TP_fast_assign( | 35 | TP_fast_assign( |
| 36 | __entry->mcgcap = m->mcgcap; | 36 | __entry->mcgcap = m->mcgcap; |
| 37 | __entry->mcgstatus = m->mcgstatus; | 37 | __entry->mcgstatus = m->mcgstatus; |
| 38 | __entry->bank = m->bank; | ||
| 39 | __entry->status = m->status; | 38 | __entry->status = m->status; |
| 40 | __entry->addr = m->addr; | 39 | __entry->addr = m->addr; |
| 41 | __entry->misc = m->misc; | 40 | __entry->misc = m->misc; |
| 42 | __entry->ip = m->ip; | 41 | __entry->ip = m->ip; |
| 43 | __entry->cs = m->cs; | ||
| 44 | __entry->tsc = m->tsc; | 42 | __entry->tsc = m->tsc; |
| 45 | __entry->walltime = m->time; | 43 | __entry->walltime = m->time; |
| 46 | __entry->cpu = m->extcpu; | 44 | __entry->cpu = m->extcpu; |
| 47 | __entry->cpuid = m->cpuid; | 45 | __entry->cpuid = m->cpuid; |
| 48 | __entry->apicid = m->apicid; | 46 | __entry->apicid = m->apicid; |
| 49 | __entry->socketid = m->socketid; | 47 | __entry->socketid = m->socketid; |
| 48 | __entry->cs = m->cs; | ||
| 49 | __entry->bank = m->bank; | ||
| 50 | __entry->cpuvendor = m->cpuvendor; | 50 | __entry->cpuvendor = m->cpuvendor; |
| 51 | ), | 51 | ), |
| 52 | 52 | ||
diff --git a/include/trace/events/module.h b/include/trace/events/module.h index c6bae36547e..21a546d27c0 100644 --- a/include/trace/events/module.h +++ b/include/trace/events/module.h | |||
| @@ -108,14 +108,14 @@ TRACE_EVENT(module_request, | |||
| 108 | TP_ARGS(name, wait, ip), | 108 | TP_ARGS(name, wait, ip), |
| 109 | 109 | ||
| 110 | TP_STRUCT__entry( | 110 | TP_STRUCT__entry( |
| 111 | __field( bool, wait ) | ||
| 112 | __field( unsigned long, ip ) | 111 | __field( unsigned long, ip ) |
| 112 | __field( bool, wait ) | ||
| 113 | __string( name, name ) | 113 | __string( name, name ) |
| 114 | ), | 114 | ), |
| 115 | 115 | ||
| 116 | TP_fast_assign( | 116 | TP_fast_assign( |
| 117 | __entry->wait = wait; | ||
| 118 | __entry->ip = ip; | 117 | __entry->ip = ip; |
| 118 | __entry->wait = wait; | ||
| 119 | __assign_str(name, name); | 119 | __assign_str(name, name); |
| 120 | ), | 120 | ), |
| 121 | 121 | ||
| @@ -129,4 +129,3 @@ TRACE_EVENT(module_request, | |||
| 129 | 129 | ||
| 130 | /* This part must be outside protection */ | 130 | /* This part must be outside protection */ |
| 131 | #include <trace/define_trace.h> | 131 | #include <trace/define_trace.h> |
| 132 | |||
diff --git a/include/trace/events/skb.h b/include/trace/events/skb.h index f10293c41b1..0c68ae22da2 100644 --- a/include/trace/events/skb.h +++ b/include/trace/events/skb.h | |||
| @@ -19,14 +19,14 @@ TRACE_EVENT(kfree_skb, | |||
| 19 | 19 | ||
| 20 | TP_STRUCT__entry( | 20 | TP_STRUCT__entry( |
| 21 | __field( void *, skbaddr ) | 21 | __field( void *, skbaddr ) |
| 22 | __field( unsigned short, protocol ) | ||
| 23 | __field( void *, location ) | 22 | __field( void *, location ) |
| 23 | __field( unsigned short, protocol ) | ||
| 24 | ), | 24 | ), |
| 25 | 25 | ||
| 26 | TP_fast_assign( | 26 | TP_fast_assign( |
| 27 | __entry->skbaddr = skb; | 27 | __entry->skbaddr = skb; |
| 28 | __entry->protocol = ntohs(skb->protocol); | ||
| 29 | __entry->location = location; | 28 | __entry->location = location; |
| 29 | __entry->protocol = ntohs(skb->protocol); | ||
| 30 | ), | 30 | ), |
| 31 | 31 | ||
| 32 | TP_printk("skbaddr=%p protocol=%u location=%p", | 32 | TP_printk("skbaddr=%p protocol=%u location=%p", |
