X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=liblttng-ust-cyg-profile%2Flttng-ust-cyg-profile-fast.c;h=bee7ac04d0da2a987cc52bb4b46431fde5a0be8a;hb=2208d8b5689264e35ed0a660d8c3c82021cc0367;hp=2025bd938516f133584203bf1f422bf87d594ed6;hpb=c53279a3e7796da67c5ad8d5e5657bf03def2dcb;p=lttng-ust.git diff --git a/liblttng-ust-cyg-profile/lttng-ust-cyg-profile-fast.c b/liblttng-ust-cyg-profile/lttng-ust-cyg-profile-fast.c index 2025bd93..bee7ac04 100644 --- a/liblttng-ust-cyg-profile/lttng-ust-cyg-profile-fast.c +++ b/liblttng-ust-cyg-profile/lttng-ust-cyg-profile-fast.c @@ -20,12 +20,12 @@ void __cyg_profile_func_enter(void *this_fn, void *call_site) void __cyg_profile_func_exit(void *this_fn, void *call_site) __attribute__((no_instrument_function)); -void __cyg_profile_func_enter(void *this_fn, void *call_site) +void __cyg_profile_func_enter(void *this_fn, void *call_site __attribute__((unused))) { tracepoint(lttng_ust_cyg_profile_fast, func_entry, this_fn); } -void __cyg_profile_func_exit(void *this_fn, void *call_site) +void __cyg_profile_func_exit(void *this_fn, void *call_site __attribute__((unused))) { tracepoint(lttng_ust_cyg_profile_fast, func_exit, this_fn); }