Hi - On Mon, Apr 28, 2008 at 04:06:14PM -0700, H. Peter Anvin wrote:The intent is for the tracing not to be trivial but useful. This would require either that DWARF processing be done far after kernel build, and thus the kernel cannot be self-sufficient / introspective without user-space assistance (like firmware); or that the DWARF data extraction (and systemtap-like $context-variable code generation) be part of the kernel build itself. It *might* be workable. At least one complication though is that in the case of markers, tracing parameter evaluation is itself conditional (and placed out of the hot path due to -freorder-blocks). With your suggested kind of assembly ("g" constraints for all the expressions), those expressions would be evaluated unconditionally, just to make them live somewhere. That unconditional evaluation can easily entail memory reads and dependent arithmetic, which could swamp the savings of eliminating the marker-style conditional branch. - FChE --
| Parag Warudkar | BUG: soft lockup - CPU#1 stuck for 15s! [swapper:0] |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg Kroah-Hartman | [PATCH 010/196] Chinese: add translation of Codingstyle |
| Andrew Morton | -mm merge plans for 2.6.23 |
git: | |
| Gerrit Renker | [PATCH 24/37] dccp: Processing Confirm options |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Alexey Dobriyan | Re: [GIT]: Networking |
| david | Re: iptables very slow after commit 784544739a25c30637397ace5489eeb6e15d7d49 |
