[PATCH 2/5] Add dso__is_pie prototype

From: Steve Clevenger
Date: Tue Aug 20 2024 - 18:13:27 EST


From: "steve.c.clevenger.ampere" <scclevenger@xxxxxxxxxxxxxxxxxxxxxx>

Add prototype to dso__is_pie() global.

Signed-off-by: steve.c.clevenger.ampere <scclevenger@xxxxxxxxxxxxxxxxxxxxxx>
---
tools/perf/util/symbol.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/tools/perf/util/symbol.h b/tools/perf/util/symbol.h
index 3fb5d146d9b1..33ea2596ce31 100644
--- a/tools/perf/util/symbol.h
+++ b/tools/perf/util/symbol.h
@@ -127,6 +127,7 @@ void dso__insert_symbol(struct dso *dso,
struct symbol *sym);
void dso__delete_symbol(struct dso *dso,
struct symbol *sym);
+bool dso__is_pie(struct dso *dso);

struct symbol *dso__find_symbol(struct dso *dso, u64 addr);
struct symbol *dso__find_symbol_nocache(struct dso *dso, u64 addr);
--
2.25.1