Commit | Line | Data |
---|---|---|
1 | /* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) | |
2 | * | |
3 | * lttng-probe-user.h | |
4 | * | |
5 | * Copyright (C) 2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | |
6 | */ | |
7 | ||
8 | #ifndef _LTTNG_PROBE_USER_H | |
9 | #define _LTTNG_PROBE_USER_H | |
10 | ||
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 */ |