lkml.org 
[lkml]   [2008]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 2/2]: sparc64: Add ftrace support.
From
From: Steven Rostedt <srostedt@redhat.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.


\
 
 \ /
  Last update: 2008-05-14 23:33    [W:0.069 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site