X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=lttng-probes.c;fp=lttng-probes.c;h=b5a7fc8024401da8d19d0f132a122bd63c1c64c9;hb=33a39a3cd074931ab3a2eaff6eb8807091cf8172;hp=d2723969ef7d887d818ce670a2ad8218aba46a45;hpb=3c9970797850893aaf1b9019d21868d73580e17d;p=lttng-modules.git diff --git a/lttng-probes.c b/lttng-probes.c index d2723969..b5a7fc80 100644 --- a/lttng-probes.c +++ b/lttng-probes.c @@ -103,7 +103,7 @@ void lttng_lazy_probe_register(struct lttng_probe_desc *desc) /* We should be added at the head of the list */ list_add(&desc->head, probe_list); desc_added: - printk(KERN_DEBUG "just registered probe %s containing %u events\n", + pr_debug("LTTng: just registered probe %s containing %u events\n", desc->provider, desc->nr_events); } @@ -167,7 +167,7 @@ int lttng_probe_register(struct lttng_probe_desc *desc) } list_add(&desc->lazy_init_head, &lazy_probe_init); desc->lazy = 1; - printk(KERN_DEBUG "adding probe %s containing %u events to lazy registration list\n", + pr_debug("LTTng: adding probe %s containing %u events to lazy registration list\n", desc->provider, desc->nr_events); /* * If there is at least one active session, we need to register @@ -189,7 +189,7 @@ void lttng_probe_unregister(struct lttng_probe_desc *desc) list_del(&desc->head); else list_del(&desc->lazy_init_head); - printk(KERN_DEBUG "just unregistered probe %s\n", desc->provider); + pr_debug("LTTng: just unregistered probe %s\n", desc->provider); lttng_unlock_sessions(); } EXPORT_SYMBOL_GPL(lttng_probe_unregister);