2022-04-22 21:19:03

by Martin Liška

[permalink] [raw]
Subject: Re: [PATCH] Add HAVE_DEBUGINFOD_SUPPORT to built-in features.

(removing gcc-patches ML that was accidentally included)

On 4/20/22 13:30, Martin Liška wrote:
> The change adds debuginfod to ./perf -vv:
>
> ...
> debuginfod: [ OFF ]  # HAVE_DEBUGINFOD_SUPPORT
> ...
>
> Signed-off-by: Martin Liska <[email protected]>
> ---
>  tools/perf/builtin-version.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/tools/perf/builtin-version.c b/tools/perf/builtin-version.c
> index 9cd074a3d825..a71f491224da 100644
> --- a/tools/perf/builtin-version.c
> +++ b/tools/perf/builtin-version.c
> @@ -65,6 +65,7 @@ static void library_status(void)
>  #endif
>      STATUS(HAVE_SYSCALL_TABLE_SUPPORT, syscall_table);
>      STATUS(HAVE_LIBBFD_SUPPORT, libbfd);
> +    STATUS(HAVE_DEBUGINFOD_SUPPORT, debuginfod);
>      STATUS(HAVE_LIBELF_SUPPORT, libelf);
>      STATUS(HAVE_LIBNUMA_SUPPORT, libnuma);
>      STATUS(HAVE_LIBNUMA_SUPPORT, numa_num_possible_cpus);