On Thu, Mar 16, 2023 at 10:03 AM Jiri Olsa <jolsa@xxxxxxxxxx> wrote: > > Moving error macros from profiler.inc.h to new err.h header. > It will be used in following changes. > > Also adding PTR_ERR macro that will be used in following changes. > > Signed-off-by: Jiri Olsa <jolsa@xxxxxxxxxx> > --- Acked-by: Andrii Nakryiko <andrii@xxxxxxxxxx> > tools/testing/selftests/bpf/progs/err.h | 18 ++++++++++++++++++ > .../testing/selftests/bpf/progs/profiler.inc.h | 3 +-- > 2 files changed, 19 insertions(+), 2 deletions(-) > create mode 100644 tools/testing/selftests/bpf/progs/err.h > [...]