lkml.org 
[lkml]   [2010]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 08/15] ftrace: fix event alignment: mce:mce_record
    Date

    Signed-off-by: David Sharp <dhsharp@google.com>
    ---
    include/trace/events/mce.h | 8 ++++----
    1 files changed, 4 insertions(+), 4 deletions(-)

    diff --git a/include/trace/events/mce.h b/include/trace/events/mce.h
    index 7eee778..4cbbcef 100644
    --- a/include/trace/events/mce.h
    +++ b/include/trace/events/mce.h
    @@ -17,36 +17,36 @@ TRACE_EVENT(mce_record,
    TP_STRUCT__entry(
    __field( u64, mcgcap )
    __field( u64, mcgstatus )
    - __field( u8, bank )
    __field( u64, status )
    __field( u64, addr )
    __field( u64, misc )
    __field( u64, ip )
    - __field( u8, cs )
    __field( u64, tsc )
    __field( u64, walltime )
    __field( u32, cpu )
    __field( u32, cpuid )
    __field( u32, apicid )
    __field( u32, socketid )
    + __field( u8, cs )
    + __field( u8, bank )
    __field( u8, cpuvendor )
    ),

    TP_fast_assign(
    __entry->mcgcap = m->mcgcap;
    __entry->mcgstatus = m->mcgstatus;
    - __entry->bank = m->bank;
    __entry->status = m->status;
    __entry->addr = m->addr;
    __entry->misc = m->misc;
    __entry->ip = m->ip;
    - __entry->cs = m->cs;
    __entry->tsc = m->tsc;
    __entry->walltime = m->time;
    __entry->cpu = m->extcpu;
    __entry->cpuid = m->cpuid;
    __entry->apicid = m->apicid;
    __entry->socketid = m->socketid;
    + __entry->cs = m->cs;
    + __entry->bank = m->bank;
    __entry->cpuvendor = m->cpuvendor;
    ),

    --
    1.7.3.1


    \
     
     \ /
      Last update: 2010-12-04 01:17    [W:0.023 / U:1.420 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site