Re: [PATCH 0/5] perf inject: Minor improvements

From: Jiri Olsa
Date: Mon May 23 2022 - 04:17:13 EST


On Fri, May 20, 2022 at 04:23:59PM +0300, Adrian Hunter wrote:
> Hi
>
> Here are patches for 2 minor improvements for perf inject:
> 1. Keep some features sections from input file
> 2. Keep a copy of kcore_dir
>
>
> Adrian Hunter (5):
> perf header: Add ability to keep feature sections
> libperf: Add preadn()
> perf inject: Keep some features sections from input file
> perf data: Add has_kcore_dir()
> perf inject: Keep a copy of kcore_dir

LGTM

Acked-by: Jiri Olsa <jolsa@xxxxxxxxxx>

thanks,
jirka

>
> tools/lib/perf/include/internal/lib.h | 2 +
> tools/lib/perf/lib.c | 20 +++++
> tools/perf/builtin-inject.c | 162 +++++++++++++++++++++++++++++++++-
> tools/perf/util/data.c | 14 +++
> tools/perf/util/data.h | 1 +
> tools/perf/util/header.c | 62 +++++++++++--
> tools/perf/util/header.h | 15 ++++
> 7 files changed, 264 insertions(+), 12 deletions(-)
>
>
> Regards
> Adrian