X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-tracepoint.c;h=3d0cafd764fb85ee7edecd85c28f6a0ae16df6dd;hb=0a06a42ce241fa6696bc4ee04636279f0b6f553f;hp=a01cbc402e56472685c263440f91fa2b1dda3031;hpb=0d260d3d3e28849772a060a9b1374712c0959fca;p=lttng-modules.git diff --git a/lttng-tracepoint.c b/lttng-tracepoint.c index a01cbc40..3d0cafd7 100644 --- a/lttng-tracepoint.c +++ b/lttng-tracepoint.c @@ -16,7 +16,6 @@ #include #include -#include /* * Protect the tracepoint table. lttng_tracepoint_mutex nests within @@ -106,7 +105,7 @@ struct tracepoint_entry *get_tracepoint(const char *name) u32 hash = jhash(name, strlen(name), 0); head = &tracepoint_table[hash & (TRACEPOINT_TABLE_SIZE - 1)]; - lttng_hlist_for_each_entry(e, head, hlist) { + hlist_for_each_entry(e, head, hlist) { if (!strcmp(name, e->name)) return e; } @@ -126,7 +125,7 @@ struct tracepoint_entry *add_tracepoint(const char *name) u32 hash = jhash(name, name_len - 1, 0); head = &tracepoint_table[hash & (TRACEPOINT_TABLE_SIZE - 1)]; - lttng_hlist_for_each_entry(e, head, hlist) { + hlist_for_each_entry(e, head, hlist) { if (!strcmp(name, e->name)) { printk(KERN_NOTICE "tracepoint %s busy\n", name);