2013/4/3 Frank Ch. Eigler <f...@redhat.com>: > Frederic Weisbecker <fweis...@gmail.com> writes: > >> [...] >> Sometimes I don't mind keeping around code in the kernel for out of >> tree users, depending on the case. But in this specific matter we have >> more standard ways to do this kind of hook: kprobes, static >> tracepoints. A tracepoint on the timer tick would be useful BTW, and >> you could reuse it. > > Thanks for noticing! IMO kprobes would be too heavyweight for this. > A new static tracepoint would be fine, especially if it passes the > same pt_regs* pointer as the former hook did.
Sounds good, would you like to propose a version? We are also interested in a timer tick event tracepoint for dynticks debugging. Thanks! -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/