RE: [PATCH] ftrace port to tracepoints (linux-next)

From: Takashi Nishiie
Date: Wed Jul 09 2008 - 23:14:20 EST


Hi,Mathieu

I think that it is wonderful that the source code becomes simple by
changing kernel markers to tracepoints.

However, it seems to forget to correct the error message.

For example.
Mathieu Wrote:
>- ret = marker_probe_register("kernel_sched_wakeup",
>- "pid %d state %ld ## rq %p task %p rq->curr %p",
>- wake_up_callback,
>- &ctx_trace);
>+ ret = register_trace_sched_wakeup(probe_sched_wakeup);
> if (ret) {
> pr_info("wakeup trace: Couldn't add marker"
> " probe to kernel_sched_wakeup\n");
> return ret;
> }

if (ret) {
- pr_info("wakeup trace: Couldn't add marker"
+ pr_info("wakeup trace: Couldn't activate tracepoint"
" probe to kernel_sched_wakeup\n");
return ret;
}

Thank you,
--
Takashi Nishiie



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/