lkml.org 
[lkml]   [2010]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 08/15] ftrace: fix event alignment: mce:mce_record
    From
    Date
    [ Ccing Hidetoshi and Frederic for Acked-by's ]

    -- Steve


    On Fri, 2010-12-03 at 16:13 -0800, David Sharp wrote:
    > 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;
    > ),
    >




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