Commit | Line | Data |
---|---|---|
b7cdc182 | 1 | /* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) |
9f36eaed | 2 | * |
7b8ea3a5 MD |
3 | * lttng-probe-user.h |
4 | * | |
5 | * Copyright (C) 2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | |
7b8ea3a5 MD |
6 | */ |
7 | ||
9f36eaed MJ |
8 | #ifndef _LTTNG_PROBE_USER_H |
9 | #define _LTTNG_PROBE_USER_H | |
10 | ||
7b8ea3a5 MD |
11 | /* |
12 | * Calculate string length. Include final null terminating character if there is | |
13 | * one, or ends at first fault. | |
14 | */ | |
15 | long lttng_strlen_user_inatomic(const char *addr); | |
16 | ||
17 | #endif /* _LTTNG_PROBE_USER_H */ |