Re: [PATCH v2] perf parse-events: Break out tracepoint and printing.

From: Jiri Olsa
Date: Fri Jul 29 2022 - 07:44:44 EST


On Thu, Jul 07, 2022 at 12:12:09PM -0700, Ian Rogers wrote:
> Move print_*_events functions out of parse-events.c into a new
> print-events.c. Move tracepoint code into tracepoint.c or
> trace-event-info.c (sole user). This reduces the dependencies of

it seems like it'd be better to have those changes in separated
patches, at least for review

jirka

> parse-events.c and makes it more amenable to being a library in the
> future.
> Remove some unnecessary definitions from parse-events.h. Fix a
> checkpatch.pl warning on using unsigned rather than unsigned int.
> Fix some line length warnings too.
>
> v2. Rebase in particular after hybrid PMU changes.
>
> Signed-off-by: Ian Rogers <irogers@xxxxxxxxxx>

SNIP