perf probe: Cleanup synthesize_probe_trace_command()
authorMasami Hiramatsu <mhiramat@kernel.org>
Fri, 4 Jun 2021 16:28:33 +0000 (01:28 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 18 Jun 2021 16:50:05 +0000 (13:50 -0300)
commitd26ea4814476841f806509745dcd398bf0598314
tree391dc65379ce32a651093919f9573fd48eafade8
parentf338de22192085a476dd1bc9eac5e074a48f34f9
perf probe: Cleanup synthesize_probe_trace_command()

Cleanup synthesize_probe_trace_command() to simplify the code path.

Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lore.kernel.org/lkml/162282411361.452340.16886399333622147122.stgit@devnote2
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/probe-event.c