Andrew Morton wrote: > People have been speeding up kprobes in recent kernels, to avoid the int3 > overhead. I don't recall seeing how effective that has been. I don't want to microdebate this one, but here's the quote from Frank on the topic of djprobe: > Smart teams from IBM and Hitachi have been hammering away at this code > for a year or two now, and yet (roughly) here we are. There have been > experiments involving plopping branches instead of int3's at probe > locations, but this is self-modifying code involving multiple > instructions, and appears to be tricky on SMP/preempt boxes. The idea behind this mechanism is neat. But every step along the way there seem to be ever more complex corner cases where it can't be used. Should this mechanism ever be made to work, the need for static markup would still be felt however. Karim - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH 0/11] LTTng-core (basic tracing infrastructure) 0.5.108
- From: Thomas Gleixner <[email protected]>
- Re: [PATCH 0/11] LTTng-core (basic tracing infrastructure) 0.5.108
- References:
- [PATCH 0/11] LTTng-core (basic tracing infrastructure) 0.5.108
- From: Mathieu Desnoyers <[email protected]>
- Re: [PATCH 0/11] LTTng-core (basic tracing infrastructure) 0.5.108
- From: Ingo Molnar <[email protected]>
- Re: [PATCH 0/11] LTTng-core (basic tracing infrastructure) 0.5.108
- From: Roman Zippel <[email protected]>
- Re: [PATCH 0/11] LTTng-core (basic tracing infrastructure) 0.5.108
- From: Ingo Molnar <[email protected]>
- Re: [PATCH 0/11] LTTng-core (basic tracing infrastructure) 0.5.108
- From: Roman Zippel <[email protected]>
- Re: [PATCH 0/11] LTTng-core (basic tracing infrastructure) 0.5.108
- From: Roman Zippel <[email protected]>
- Re: [PATCH 0/11] LTTng-core (basic tracing infrastructure) 0.5.108
- From: Ingo Molnar <[email protected]>
- Re: [PATCH 0/11] LTTng-core (basic tracing infrastructure) 0.5.108
- From: Tim Bird <[email protected]>
- Re: [PATCH 0/11] LTTng-core (basic tracing infrastructure) 0.5.108
- From: Alan Cox <[email protected]>
- Re: [PATCH 0/11] LTTng-core (basic tracing infrastructure) 0.5.108
- From: Roman Zippel <[email protected]>
- Re: [PATCH 0/11] LTTng-core (basic tracing infrastructure) 0.5.108
- From: Alan Cox <[email protected]>
- Re: [PATCH 0/11] LTTng-core (basic tracing infrastructure) 0.5.108
- From: Andrew Morton <[email protected]>
- Re: [PATCH 0/11] LTTng-core (basic tracing infrastructure) 0.5.108
- From: Karim Yaghmour <[email protected]>
- Re: [PATCH 0/11] LTTng-core (basic tracing infrastructure) 0.5.108
- From: Andrew Morton <[email protected]>
- [PATCH 0/11] LTTng-core (basic tracing infrastructure) 0.5.108
- Prev by Date: Re: [PATCH 0/11] LTTng-core (basic tracing infrastructure) 0.5.108
- Next by Date: Re: [PATCH 0/11] LTTng-core (basic tracing infrastructure) 0.5.108
- Previous by thread: Re: [PATCH 0/11] LTTng-core (basic tracing infrastructure) 0.5.108
- Next by thread: Re: [PATCH 0/11] LTTng-core (basic tracing infrastructure) 0.5.108
- Index(es):