lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 7 Aug 2008 21:56:32 -0400 (EDT)
From:	Steven Rostedt <rostedt@...dmis.org>
To:	Roland McGrath <roland@...hat.com>
cc:	Jeremy Fitzhardinge <jeremy@...p.org>,
	linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...e.hu>,
	Thomas Gleixner <tglx@...utronix.de>,
	Peter Zijlstra <peterz@...radead.org>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	David Miller <davem@...emloft.net>,
	Mathieu Desnoyers <mathieu.desnoyers@...ymtl.ca>,
	Ulrich Drepper <drepper@...hat.com>,
	Rusty Russell <rusty@...tcorp.com.au>,
	Gregory Haskins <ghaskins@...ell.com>,
	Arnaldo Carvalho de Melo <acme@...hat.com>,
	"Luis Claudio R. Goncalves" <lclaudio@...g.org>,
	Clark Williams <williams@...hat.com>,
	Sam Ravnborg <sam@...nborg.org>,
	"Eric W. Biederman" <ebiederm@...ssion.com>
Subject: Re: [PATCH 0/5] ftrace: to kill a daemon



On Thu, 7 Aug 2008, Steven Rostedt wrote:

> 
> On Thu, 7 Aug 2008, 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.
> 
> OK, I am playing with this. And you are right, it does work with vmlinux.o 
> file.  It adds almost another minute to the build anytime something is 
> changed. Where the per-object way may take longer doing a full build, but 
> does not add that extra minute ever build.

I spoke to soon. I was only looking at the result of the vmlinux.o. But it 
seems that kallsyms skips using this file and relinks everything itself.
Thus the __mcount_loc I added never made it into the vmlinux. The more I 
try to get this method to work, the more complex it becomes. And I still 
did not change the recordmcount.pl at all. Which means, by trying to do it 
against the vmlinux.o, I'm actually making it more complex than it already 
is.

Right now, doing it to every object seems to be the safest approach.

-- Steve


--
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