pahole: Allow asking for extra features using the '+' prefix in --btf_features
commita1f684fa018ddbfaf99690f343b33ff364f2cd37
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 19 Apr 2024 20:46:08 +0000 (19 17:46 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 23 Apr 2024 17:41:13 +0000 (23 14:41 -0300)
treebb5f7e5f623115677e8c3d3a1bed8f8b511dd57c
parent31c6ec74952898a6d98b27a219dce218f6133a9a
pahole: Allow asking for extra features using the '+' prefix in --btf_features

Instead of the more verbose form:

  --btf_features=default,reproducible_build

That means "the set of default BTF features plus the 'reproducible_build'
extra BTF feature", use + directly, making it more compact:

  --btf_features=+reproducible_build

In the future we may want the '-' counterpart as a way to _remove_ some
of the default set of BTF features.

Cc: Alan Maguire <alan.maguire@oracle.com>
Cc: Andrii Nakryiko <andrii.nakryiko@gmail.com>
Cc: Daniel Xu <dxu@dxuuu.xyz>
Cc: Eduard Zingerman <eddyz87@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/dwarves/20240419205747.1102933-2-acme@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
man-pages/pahole.1
pahole.c