X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=liblttng-ust-cyg-profile%2Flttng-ust-cyg-profile-fast.h;h=f2cdaabe94b32c620c82ad956b91344404bf2fd1;hb=6ba6fd60507f8e045bdc4f1be14e9d99c6a15f7f;hp=ea6383861dd057debb211a23e726eaf51ca74b1f;hpb=baca05dc66c720d0ad0cb6ed66351c70d4386359;p=lttng-ust.git diff --git a/liblttng-ust-cyg-profile/lttng-ust-cyg-profile-fast.h b/liblttng-ust-cyg-profile/lttng-ust-cyg-profile-fast.h index ea638386..f2cdaabe 100644 --- a/liblttng-ust-cyg-profile/lttng-ust-cyg-profile-fast.h +++ b/liblttng-ust-cyg-profile/lttng-ust-cyg-profile-fast.h @@ -1,3 +1,9 @@ +/* + * SPDX-License-Identifier: MIT + * + * Copyright (C) 2011-2013 Mathieu Desnoyers + */ + #undef TRACEPOINT_PROVIDER #define TRACEPOINT_PROVIDER lttng_ust_cyg_profile_fast @@ -8,28 +14,6 @@ extern "C" { #endif -/* - * Copyright (C) 2011-2013 Mathieu Desnoyers - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ - #include TRACEPOINT_EVENT(lttng_ust_cyg_profile_fast, func_entry, @@ -45,7 +29,9 @@ TRACEPOINT_LOGLEVEL(lttng_ust_cyg_profile_fast, func_entry, TRACEPOINT_EVENT(lttng_ust_cyg_profile_fast, func_exit, TP_ARGS(void *, func_addr), - TP_FIELDS() + TP_FIELDS( + ctf_unused(func_addr) + ) ) TRACEPOINT_LOGLEVEL(lttng_ust_cyg_profile_fast, func_exit,