X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=liblttng-ust%2Fcontext-internal.h;h=3f1f42e8c8a11de65b49e8d216bcaa8ba4b6c5a3;hb=864a1eda22ed99266509ac76451c6f27f91aa17e;hp=79c886443401f9bbad72ca2318df23b53df21224;hpb=51f804ec315888553a0104fe691af89216c127e8;p=lttng-ust.git diff --git a/liblttng-ust/context-internal.h b/liblttng-ust/context-internal.h index 79c88644..3f1f42e8 100644 --- a/liblttng-ust/context-internal.h +++ b/liblttng-ust/context-internal.h @@ -1,32 +1,22 @@ -#ifndef _LTTNG_UST_CONTEXT_INTERNAL_H -#define _LTTNG_UST_CONTEXT_INTERNAL_H - /* - * ust-events-internal.h - * - * Copyright 2020 (c) - Francis Deslauriers - * - * 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. + * SPDX-License-Identifier: MIT * - * 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 2020 (C) Francis Deslauriers */ +#ifndef _LTTNG_UST_CONTEXT_INTERNAL_H +#define _LTTNG_UST_CONTEXT_INTERNAL_H + #include +#include "ust-helper.h" +LTTNG_HIDDEN int lttng_context_init_all(struct lttng_ctx **ctx); +LTTNG_HIDDEN +void lttng_context_time_ns_reset(void); + +LTTNG_HIDDEN +int lttng_add_time_ns_to_ctx(struct lttng_ctx **ctx); + #endif /* _LTTNG_UST_CONTEXT_INTERNAL_H */