projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Java agent: close session daemon socket on error
[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 5557b137cdc24f4ed68077c7bc72d23f94e7e779..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"
@@
-73,7
+76,7
@@
int lttng_ust_context_provider_register(struct lttng_ust_context_provider *provi
/* Provider name starts with "$app.". */
if (strncmp("$app.", provider->name, strlen("$app.")) != 0)
return -EINVAL;
/* Provider name starts with "$app.". */
if (strncmp("$app.", provider->name, strlen("$app.")) != 0)
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.02442 seconds
and
4
git commands to generate.