Messages in this thread | | | Date | Thu, 6 May 2010 08:31:16 +0200 | From | Ingo Molnar <> | Subject | Re: [RFC PATCHSET] sched,perf: unify tracers in sched and move perf on top of TP |
| |
* Peter Zijlstra <peterz@infradead.org> wrote:
> Well, I'd much rather just see a direct call in the code than having to > reverse engineer wth hangs onto that _EVENT() junk.
Direct calls into code were fine 10 years ago, but since then we got:
- preempt notifiers - sw events - tracepoints
Which add up to a lot more than just a plain call into code.
Also, with the jump-optimizations we will have tracepoints that are _cheaper_ than a plain function call.
> Also, we don't need ABI muck for this.
we already have an ABIs in place here - this would just properly unify and enumerate it.
Ingo
| |