X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=liblttng-ust%2Fcontext-internal.h;h=1ec1b57ee7e73c9a8efcdedb7b223192823b6f29;hb=c0c0989ab70574e09b2f7e8b48c2da6af664a849;hp=85fcb8e4e5b478f455c57ff3ea715508f3870c2e;hpb=7e80521b0585468a7ae9ad1cc1d862c8c7b3567e;p=lttng-ust.git diff --git a/liblttng-ust/context-internal.h b/liblttng-ust/context-internal.h index 85fcb8e4..1ec1b57e 100644 --- a/liblttng-ust/context-internal.h +++ b/liblttng-ust/context-internal.h @@ -1,34 +1,22 @@ -#ifndef _LTTNG_UST_CONTEXT_INTERNAL_H -#define _LTTNG_UST_CONTEXT_INTERNAL_H - /* - * ust-events-internal.h - * - * Copyright 2020 (c) - Francis Deslauriers + * 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 2020 (C) Francis Deslauriers */ +#ifndef _LTTNG_UST_CONTEXT_INTERNAL_H +#define _LTTNG_UST_CONTEXT_INTERNAL_H + #include #include "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 */