lkml.org 
[lkml]   [2009]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 2/2] ftrace: Output REC->var instead of __entry->var for trace format

    * Zhaolei <zhaolei@cn.fujitsu.com> wrote:

    > print fmt: "irq=%d return=%s", __entry->irq, __entry->ret ? \"handled\" : \"unhandled\"
    >
    > "__entry" should be convert to "REC" by __stringify() macro.
    >
    > Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
    > ---
    > kernel/trace/trace_events_stage_2.h | 4 ++--
    > 1 files changed, 2 insertions(+), 2 deletions(-)

    good fix, but it is causing build trouble when applied to latest
    tip/master:

    include/trace/sched_event_types.h:257:1: error: macro "__stringify"
    passed 3 arguments, but takes just 1

    see: http://people.redhat.com/mingo/tip.git/README

    Ingo


    \
     
     \ /
      Last update: 2009-04-08 14:19    [W:0.021 / U:95.596 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site