• M
    perf: Use die() for error cases in perf-probe · 074fc0e4
    Masami Hiramatsu 提交于
    Use die() for exiting perf-probe with errors. This replaces
    perror_exit(), msg_exit() and fprintf()+exit() with die(), and
    uses die() in semantic_error().
    
    This also renames 'die' local variables to 'dw_die' for avoiding
    name confliction.
    Signed-off-by: NMasami Hiramatsu <mhiramat@redhat.com>
    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
    Cc: Steven Rostedt <rostedt@goodmis.org>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    LKML-Reference: <20091017000801.16556.46866.stgit@dhcp-100-2-132.bos.redhat.com>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    074fc0e4
probe-finder.c 17.0 KB