projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Require C++11 for building probe providers with C++ compiler
[lttng-ust.git]
/
liblttng-ust
/
lttng-context-provider.c
diff --git
a/liblttng-ust/lttng-context-provider.c
b/liblttng-ust/lttng-context-provider.c
index 8e065abe3eb0c650b44fa6c507f26831591c119a..50f73c6253cf340d90485540ce154dfdafd24d72 100644
(file)
--- a/
liblttng-ust/lttng-context-provider.c
+++ b/
liblttng-ust/lttng-context-provider.c
@@
-21,8
+21,11
@@
*/
#define _LGPL_SOURCE
*/
#define _LGPL_SOURCE
+#include <stddef.h>
+#include <stdint.h>
#include <sys/types.h>
#include <unistd.h>
#include <sys/types.h>
#include <unistd.h>
+
#include <lttng/ust-context-provider.h>
#include "lttng-tracer-core.h"
#include "jhash.h"
#include <lttng/ust-context-provider.h>
#include "lttng-tracer-core.h"
#include "jhash.h"
@@
-71,9
+74,9
@@
int lttng_ust_context_provider_register(struct lttng_ust_context_provider *provi
lttng_ust_fixup_tls();
/* Provider name starts with "$app.". */
lttng_ust_fixup_tls();
/* Provider name starts with "$app.". */
- if (strncmp("$app.", provider->name, strlen("$app.")
!= 0)
)
+ if (strncmp("$app.", provider->name, strlen("$app.")
) != 0
)
return -EINVAL;
return -EINVAL;
- /* Provider name cannot contain a col
um
n character. */
+ /* Provider name cannot contain a col
o
n character. */
if (strchr(provider->name, ':'))
return -EINVAL;
if (ust_lock()) {
if (strchr(provider->name, ':'))
return -EINVAL;
if (ust_lock()) {
This page took
0.023664 seconds
and
4
git commands to generate.