lkml.org 
[lkml]   [2014]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Subject[PATCHSET 0/5] tools lib traceevent: Get rid of *die() calls finally!! (v2)
    Date
    Hello,

    I've added WARN_ONCE in TRACE_SEQ_CHECK() as Jiri said. Other patches
    are same as the privous version.

    You can also get this on my 'libtraceevent/die-removal-v5' branch in my tree

    git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.git


    Thanks,
    Namhyung


    Namhyung Kim (5):
    tools lib traceevent: Add WARN and WARN_ONCE macros
    tools lib traceevent: Add state member to struct trace_seq
    tools lib traceevent: Check return value of realloc()
    tools lib traceevent: Get rid of malloc_or_die() in trace_seq_init()
    tools lib traceevent: Get rid of die() finally!!

    tools/lib/traceevent/event-parse.h | 7 +++++
    tools/lib/traceevent/event-utils.h | 26 ++++++++++++++---
    tools/lib/traceevent/parse-utils.c | 44 -----------------------------
    tools/lib/traceevent/trace-seq.c | 57 +++++++++++++++++++++++++++++++++-----
    4 files changed, 79 insertions(+), 55 deletions(-)

    --
    1.7.11.7



    \
     
     \ /
      Last update: 2014-01-07 04:41    [W:4.170 / U:0.372 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site