perf tools: Print warning when HAVE_DEBUGINFOD_SUPPORT is not set and user tries...
authorMartin Liška <mliska@suse.cz>
Wed, 20 Apr 2022 13:32:55 +0000 (15:32 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 20 Apr 2022 16:36:36 +0000 (13:36 -0300)
commitc60664dea70a76cdffb4c4c21b2a09153b41a950
treea991e6c47a7f7366806e0f44a407e22811b6c418
parentb8836c2a4d4b2abcbefa8bd6a37bdbf075633199
perf tools: Print warning when HAVE_DEBUGINFOD_SUPPORT is not set and user tries to use debuginfod support

When one requests debuginfod, either via --debuginfod option, or with a
perf-config value, complain when perf is not built with it.

Signed-off-by: Martin Liška <mliska@suse.cz>
Cc: Jiri Olsa <jolsa@kernel.org>
Link: http://lore.kernel.org/lkml/35bae747-3951-dc3d-a66b-abf4cebcd9cb@suse.cz
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/util.c