X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=libust%2Ftracepoint.c;h=7976f7d920c3f3a6ff3e8c442e6aa2eace925e92;hb=c1f205309da615f1f0c68beedf37365942246537;hp=cc2adf15e8e8c7ded54281be445528ac4086dcc0;hpb=7e92827db5195a5b6afc110d0152eb2deef75638;p=ust.git diff --git a/libust/tracepoint.c b/libust/tracepoint.c index cc2adf1..7976f7d 100644 --- a/libust/tracepoint.c +++ b/libust/tracepoint.c @@ -115,7 +115,7 @@ static void debug_print_probes(struct tracepoint_entry *entry) return; for (i = 0; entry->funcs[i]; i++) - printk(KERN_DEBUG "Probe %d : %p\n", i, entry->funcs[i]); + DBG("Probe %d : %p", i, entry->funcs[i]); } static void * @@ -225,8 +225,7 @@ static struct tracepoint_entry *add_tracepoint(const char *name) head = &tracepoint_table[hash & (TRACEPOINT_TABLE_SIZE - 1)]; hlist_for_each_entry(e, node, head, hlist) { if (!strcmp(name, e->name)) { - printk(KERN_NOTICE - "tracepoint %s busy\n", name); + DBG("tracepoint %s busy", name); return ERR_PTR(-EEXIST); /* Already there */ } }