[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080514.142932.95610533.davem@davemloft.net>
Date: Wed, 14 May 2008 14:29:32 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: srostedt@...hat.com
Cc: mingo@...e.hu, acme@...hat.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2]: sparc64: Add ftrace support.
From: Steven Rostedt <srostedt@...hat.com>
Date: Wed, 14 May 2008 09:32:18 -0400
> If you add the following in arch/sparc64/kernel/Makefile
>
> ifdef CONFIG_DYNAMIC_FTRACE
> obj-y += ftrace.o
> # Do not trace the ftrace code itself
> ORIG_CFLAGS := $(KBUILD_CFLAGS)
> KBUILD_CFLAGS = $(if $(filter-out ftrace, $(basename $(notdir $@))), \
> $(ORIG_CFLAGS), \
> $(subst -pg,,$(ORIG_CFLAGS)))
> endif
>
> Then you wont need the "notrace" annotations on the functions.
That frankly looks like crap compared to the simple "notrace"
annotations in the *.c file.
This Makefile turd is in fact seemingly multiplying in various
places in the ftrace tree, please reverse this trend.
--
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