X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=include%2Flttng%2Flttng-ust-tracef.h;h=785f21321cb8e2c6aa44df4cfda9adbb130518d8;hb=4c41b460614826ada066a7e0c26a8b116336bab2;hp=1910447f141559b607f86cd5620f749732cf8f3c;hpb=7dae71f2117c236a44bb78b023ad6100021707d8;p=lttng-ust.git diff --git a/include/lttng/lttng-ust-tracef.h b/include/lttng/lttng-ust-tracef.h index 1910447f..785f2132 100644 --- a/include/lttng/lttng-ust-tracef.h +++ b/include/lttng/lttng-ust-tracef.h @@ -1,30 +1,14 @@ /* - * Copyright (C) 2011-2014 Mathieu Desnoyers + * SPDX-License-Identifier: MIT * - * 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. + * Copyright (C) 2011-2014 Mathieu Desnoyers */ #include #include TRACEPOINT_EVENT(lttng_ust_tracef, event, - TP_ARGS(const char *, msg, unsigned int, len), + TP_ARGS(const char *, msg, unsigned int, len, void *, ip), TP_FIELDS( ctf_sequence_text(char, msg, msg, unsigned int, len) )