[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <y0mvc83u79f.fsf@fche.csb>
Date: Wed, 03 Apr 2013 08:29:48 -0400
From: fche@...hat.com (Frank Ch. Eigler)
To: Frederic Weisbecker <fweisbec@...il.com>
Cc: Mel Gorman <mgorman@...e.de>, Ingo Molnar <mingo@...nel.org>,
LKML <linux-kernel@...r.kernel.org>,
SystemTap <systemtap@...rceware.org>
Subject: Re: systemtap broken by removal of register_timer_hook
Frederic Weisbecker <fweisbec@...il.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.
- FChE
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists