[PATCH 0/5] perf inject: Minor improvements

From: Adrian Hunter
Date: Fri May 20 2022 - 09:24:25 EST


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

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