benchmark: detect libteec offset
Add detection of an offset of load-time relocatable libteec for correct
translation of addresses into file name/line numbers.
Acked-by: Joakim Bech <joakim.bech@linaro.org>
Signed-off-by: Igor Opaniuk <igor.opaniuk@linaro.org>
diff --git a/benchmark_aux.h b/benchmark_aux.h
index fc612f4..6419263 100644
--- a/benchmark_aux.h
+++ b/benchmark_aux.h
@@ -44,6 +44,7 @@
void dealloc_argv(int new_argc, char **new_argv);
void *mmap_paddr(intptr_t paddr, uint64_t size);
+size_t get_library_load_offset(pid_t pid, const char *libname);
/* get amount of cores */
uint32_t get_cores(void);