• Tom Zanussi's avatar
    perf trace/scripting: Add support for script args · 586bc5cc
    Tom Zanussi authored
    One oversight of the original scripting_ops patch was a lack of
    support for passing args to handler scripts.  This adds
    argc/argv to the start_script() scripting_op, and changes the
    rw-by-file script to take 'comm' arg rather than the 'perf'
    value currently hard-coded.  It also takes the opportunity to do
    some related minor cleanup.
    Signed-off-by: default avatarTom Zanussi <tzanussi@gmail.com>
    Cc: fweisbec@gmail.com
    Cc: rostedt@goodmis.org
    LKML-Reference: <1260867220-15699-2-git-send-email-tzanussi@gmail.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    586bc5cc
trace-event.h 5.91 KB