From cad600fd598e0b83fc30fb39a172cc8258f31838 Mon Sep 17 00:00:00 2001 From: Patrick Lipka Date: Mon, 18 Aug 2025 17:00:48 +0200 Subject: [PATCH] Add cygnus hooks declarations --- rvprof.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rvprof.h b/rvprof.h index 8ba9ba0..4f63a07 100644 --- a/rvprof.h +++ b/rvprof.h @@ -21,6 +21,10 @@ void rvprof_region_end(const char* name); // not called by instrumented code direclty anymore void rvprof_finalize(void); +// cygnus function hooks +void __cyg_profile_func_enter(void *this_fn, void *call_site); +void __cyg_profile_func_exit(void *this_fn, void *call_site); + #ifdef __cplusplus extern } #endif