Messages in this thread | | | Date | Fri, 8 Aug 2008 06:54:19 +0200 | From | Sam Ravnborg <> | Subject | Re: [PATCH 0/5] ftrace: to kill a daemon |
| |
On Thu, Aug 07, 2008 at 03:26:42PM -0700, Roland McGrath wrote: > > This doesn't seem any less complex than what I did. With this, I would > > have to come up with another way to handle modules. This will make > > things a lot more complex. > > The scheme you've implemented can apply fine to a .ko file after it's made. > They are just .o's really. It is presumably faster to do one step per > final .ko rather than many tiny ones (per source file). > > That might be a benefit to doing it all at the end for vmlinux too. I > think the best way would be to have a vmlinux.o that we actually use in the > link, rather than just analyzing and discarding. Then you can just do your > existing hack on vmlinux.o before it's linked into vmlinux. I have patches to actually use vmlinux.o as part of the link process, but as I hit some subtle issues with um and sparc they are not yet ready. I plan to dust them off again and fix up the sparc and um issues but that is not this month.
Sam
| |