perf probe: Use the MAX_EVENT_NAME_LEN macro
authorLeo Yan <leo.yan@arm.com>
Sat, 12 Oct 2024 20:47:23 +0000 (21:47 +0100)
committerNamhyung Kim <namhyung@kernel.org>
Thu, 17 Oct 2024 16:55:58 +0000 (09:55 -0700)
commitd08e3f14e87259b9d63bf7eea7072d1bd61392ef
tree0fe4f50822027647c471bf196b0517290b100466
parent3662f82f16814636aaa152cdbd8db4b96984abea
perf probe: Use the MAX_EVENT_NAME_LEN macro

The MAX_EVENT_NAME_LEN macro has been defined in the kernel. Use the
same definition in the tool for more readable.

Signed-off-by: Leo Yan <leo.yan@arm.com>
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Link: https://lore.kernel.org/r/20241012204725.928794-2-leo.yan@arm.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/util/probe-event.c