• Frederic Weisbecker's avatar
    perf tools: Make trace event format parser aware of cast to pointers · 3f9edc23
    Frederic Weisbecker authored
    The ftrace event format parser handles the usual casts but not
    the cast to pointers. Such casts have been introduced recently
    with the module trace events and raise the following parsing
    error:
    
    	Fatal: bad op token )
    
    This is because it considers the "*" character as a binary
    operator. Make it then aware of casts to pointers.
    Signed-off-by: default avatarFrederic Weisbecker <fweisbec@gmail.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
    Cc: Mike Galbraith <efault@gmx.de>
    Cc: Steven Rostedt <rostedt@goodmis.org>
    LKML-Reference: <1250543271-8383-4-git-send-email-fweisbec@gmail.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    3f9edc23
trace-event-parse.c 57.7 KB