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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1297283332.23343.29.camel@gandalf.stny.rr.com>
Date:	Wed, 09 Feb 2011 15:28:52 -0500
From:	Steven Rostedt <rostedt@...dmis.org>
To:	linux-kernel@...r.kernel.org
Cc:	Ingo Molnar <mingo@...e.hu>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Thomas Gleixner <tglx@...utronix.de>,
	Frederic Weisbecker <fweisbec@...il.com>,
	"H. Peter Anvin" <hpa@...or.com>,
	Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
	Andi Kleen <andi@...stfloor.org>,
	Masami Hiramatsu <masami.hiramatsu.pt@...achi.com>,
	Michal Marek <mmarek@...e.cz>
Subject: Re: [RFC][PATCH 2/4] ftrace: Add -mfentry to Makefile on function
 tracer

On Wed, 2011-02-09 at 15:02 -0500, Steven Rostedt wrote:

>  ifdef CONFIG_FUNCTION_TRACER
> -KBUILD_CFLAGS	+= -pg
> +ifdef CONFIG_HAVE_FENTRY
> +CC_HAS_FENTRY	:= $(call cc-option, -mfentry -DCC_HAS_FENTRY)

I should include a thanks to H. Peter Anvin in the change log for
telling me about the cc-option trick.

-- Steve

> +endif
> +KBUILD_CFLAGS	+= -pg $(CC_HAS_FENTRY)
> +KBUILD_AFLAGS	+= $(CC_HAS_FENTRY)
>  ifdef CONFIG_DYNAMIC_FTRACE
>  	ifdef CONFIG_HAVE_C_RECORDMCOUNT
>  		BUILD_C_RECORDMCOUNT := y


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

Powered by Openwall GNU/*/Linux Powered by OpenVZ