[lkml]   [2009]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH v2 1/2] tracing/events: make __string() more general

    On Tue, 26 May 2009, Li Zefan wrote:

    > This changes __string(..., src) to __string(..., len), thus makes it more
    > general, and then block TRACE_EVENT() can use it.
    > Also introduce __fetch_str(), which is used in TP_assign() and returns
    > the address of the string, while __get_str() is used in TP_print().
    > [ Impact: TRACE_EVENT api change ]

    What's the reason for the change?

    Is it to handle NULL pointers? If so, lets change the ftrace.h to handle
    it instead.

    This is why I like the Impact line really be a "rational" line.
    "TRACE_EVENT api change" is meaningless to me.

    -- Steve

     \ /
      Last update: 2009-05-26 22:59    [W:0.018 / U:6.180 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site