• Adrian Hunter's avatar
    perf script: Show text poke address symbol · 7eeb9855
    Adrian Hunter authored
    It is generally more useful to show the symbol with an address. In this
    case, the print function requires the 'machine' which means changing
    callers to provide it as a parameter. It is optional because most events
    do not need it and the callers that matter can provide it.
    
    Committer notes:
    
    Made 'union perf_event' continue to be the first parameter to the
    perf_event__fprintf() and perf_event__fprintf_text_poke() events.
    Signed-off-by: default avatarAdrian Hunter <adrian.hunter@intel.com>
    Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
    Cc: Borislav Petkov <bp@alien8.de>
    Cc: H. Peter Anvin <hpa@zytor.com>
    Cc: Jiri Olsa <jolsa@redhat.com>
    Cc: Leo Yan <leo.yan@linaro.org>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Masami Hiramatsu <mhiramat@kernel.org>
    Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Steven Rostedt (VMware) <rostedt@goodmis.org>
    Cc: x86@kernel.org
    Link: http://lore.kernel.org/lkml/20200512121922.8997-16-adrian.hunter@intel.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    7eeb9855
builtin-script.c 101 KB