X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=liblttng-ust-cyg-profile%2Flttng-ust-cyg-profile-fast.c;fp=liblttng-ust-cyg-profile%2Flttng-ust-cyg-profile-fast.c;h=0000000000000000000000000000000000000000;hb=9d4c8b2d907edb9ebc9bfde55602598e7ba0832e;hp=bee7ac04d0da2a987cc52bb4b46431fde5a0be8a;hpb=6ba6fd60507f8e045bdc4f1be14e9d99c6a15f7f;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 deleted file mode 100644 index bee7ac04..00000000 --- a/liblttng-ust-cyg-profile/lttng-ust-cyg-profile-fast.c +++ /dev/null @@ -1,31 +0,0 @@ -/* - * SPDX-License-Identifier: LGPL-2.1-or-later - * - * Copyright (C) 2011-2013 Mathieu Desnoyers - */ - -#define _LGPL_SOURCE -#include -#include -#include - -#define TRACEPOINT_DEFINE -#define TRACEPOINT_CREATE_PROBES -#define TP_IP_PARAM func_addr -#include "lttng-ust-cyg-profile-fast.h" - -void __cyg_profile_func_enter(void *this_fn, void *call_site) - __attribute__((no_instrument_function)); - -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 __attribute__((unused))) -{ - tracepoint(lttng_ust_cyg_profile_fast, func_entry, this_fn); -} - -void __cyg_profile_func_exit(void *this_fn, void *call_site __attribute__((unused))) -{ - tracepoint(lttng_ust_cyg_profile_fast, func_exit, this_fn); -}