projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More compile fixes
[lttng-ust.git]
/
liblttng-ust
/
tracepoint.c
diff --git
a/liblttng-ust/tracepoint.c
b/liblttng-ust/tracepoint.c
index 217ef4c22af2de76e8fe2990d7facc187f825386..66e58d0a5a34bb8dfe2e6d931ce6ddb416930c7d 100644
(file)
--- a/
liblttng-ust/tracepoint.c
+++ b/
liblttng-ust/tracepoint.c
@@
-22,7
+22,6
@@
#define _LGPL_SOURCE
#include <errno.h>
#include <lttng/tracepoint.h>
#define _LGPL_SOURCE
#include <errno.h>
#include <lttng/tracepoint.h>
-#include <lttng/tracepoint-internal.h>
#include <lttng/core.h>
#include <stdint.h>
#include <stddef.h>
#include <lttng/core.h>
#include <stdint.h>
#include <stddef.h>
@@
-33,6
+32,7
@@
#include <urcu/compiler.h>
#include <lttng/usterr-signal-safe.h>
#include <urcu/compiler.h>
#include <lttng/usterr-signal-safe.h>
+#include "tracepoint-internal.h"
#include "ltt-tracer-core.h"
/* Set to 1 to enable tracepoint debug output */
#include "ltt-tracer-core.h"
/* Set to 1 to enable tracepoint debug output */
@@
-199,7
+199,7
@@
static struct tracepoint_entry *get_tracepoint(const char *name)
struct cds_hlist_head *head;
struct cds_hlist_node *node;
struct tracepoint_entry *e;
struct cds_hlist_head *head;
struct cds_hlist_node *node;
struct tracepoint_entry *e;
- u
32
hash = jhash(name, strlen(name), 0);
+ u
int32_t
hash = jhash(name, strlen(name), 0);
head = &tracepoint_table[hash & (TRACEPOINT_TABLE_SIZE - 1)];
cds_hlist_for_each_entry(e, node, head, hlist) {
head = &tracepoint_table[hash & (TRACEPOINT_TABLE_SIZE - 1)];
cds_hlist_for_each_entry(e, node, head, hlist) {
@@
-219,7
+219,7
@@
static struct tracepoint_entry *add_tracepoint(const char *name)
struct cds_hlist_node *node;
struct tracepoint_entry *e;
size_t name_len = strlen(name) + 1;
struct cds_hlist_node *node;
struct tracepoint_entry *e;
size_t name_len = strlen(name) + 1;
- u
32
hash = jhash(name, name_len-1, 0);
+ u
int32_t
hash = jhash(name, name_len-1, 0);
head = &tracepoint_table[hash & (TRACEPOINT_TABLE_SIZE - 1)];
cds_hlist_for_each_entry(e, node, head, hlist) {
head = &tracepoint_table[hash & (TRACEPOINT_TABLE_SIZE - 1)];
cds_hlist_for_each_entry(e, node, head, hlist) {
This page took
0.025186 seconds
and
4
git commands to generate.