pahole: Factor out routine to process "--btf_features=default"
commit31c6ec74952898a6d98b27a219dce218f6133a9a
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 19 Apr 2024 14:34:11 +0000 (19 11:34 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 23 Apr 2024 17:36:53 +0000 (23 14:36 -0300)
tree2da5413238349f40d0c1b229ce6a66ef876bcde7
parent2046cc50578beb4409bde5492f606fab23039932
pahole: Factor out routine to process "--btf_features=default"

As we'll use it to process "--btf_features=+reproducible_build" meaning
"default + reproducible_build", as a more compact way to express that,
one that follows a command line syntax also present in 'perf report
--fields".

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/lkml/20240419205747.1102933-2-acme@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
pahole.c