From patchwork Fri Oct 15 16:13:36 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steven Rostedt X-Patchwork-Id: 257091 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o9FGFQ9T013200 for ; Fri, 15 Oct 2010 16:15:26 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756402Ab0JOQOM (ORCPT ); Fri, 15 Oct 2010 12:14:12 -0400 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.123]:33440 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756382Ab0JOQOL (ORCPT ); Fri, 15 Oct 2010 12:14:11 -0400 X-Authority-Analysis: v=1.1 cv=QISHQ+x4xS+apxgDHgAvNvlUjyrXCzYsHvuXcbPYiKg= c=1 sm=0 a=X4Jpp518rpoA:10 a=bbbx4UPp9XUA:10 a=OPBmh+XkhLl+Enan7BmTLg==:17 a=20KFwNOVAAAA:8 a=VwQbUJbxAAAA:8 a=meVymXHHAAAA:8 a=0bIBIenkJExowfLqrbsA:9 a=Je-kq4JMU9lsAuwowx6rxlHZxoUA:4 a=jEp0ucaQiEUA:10 a=jeBq3FmKZ4MA:10 a=OPBmh+XkhLl+Enan7BmTLg==:117 X-Cloudmark-Score: 0 X-Originating-IP: 67.242.120.143 Received: from [67.242.120.143] ([67.242.120.143:51657] helo=gandalf.stny.rr.com) by hrndva-oedge04.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id 64/BD-11377-1DD78BC4; Fri, 15 Oct 2010 16:14:09 +0000 Received: from rostedt by gandalf.stny.rr.com with local (Exim 4.72) (envelope-from ) id 1P6mv3-0006cY-Ef; Fri, 15 Oct 2010 12:14:09 -0400 Message-Id: <20101015161409.316533201@goodmis.org> User-Agent: quilt/0.48-1 Date: Fri, 15 Oct 2010 12:13:36 -0400 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Ingo Molnar , Andrew Morton , Frederic Weisbecker , Michal Marek , linux-kbuild@vger.kernel.org Subject: [PATCH 2/2] ftrace: Use objtree for C version of recordmcount References: <20101015161334.766423984@goodmis.org> Content-Disposition: inline; filename=0002-ftrace-Use-objtree-for-C-version-of-recordmcount.patch Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Fri, 15 Oct 2010 16:15:26 +0000 (UTC) diff --git a/scripts/Makefile.build b/scripts/Makefile.build index 4d03a7e..4db60b2 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build @@ -210,7 +210,7 @@ endif ifdef CONFIG_FTRACE_MCOUNT_RECORD ifdef BUILD_C_RECORDMCOUNT -cmd_record_mcount = $(srctree)/scripts/recordmcount "$(@)"; +cmd_record_mcount = $(objtree)/scripts/recordmcount "$(@)"; else cmd_record_mcount = set -e ; perl $(srctree)/scripts/recordmcount.pl "$(ARCH)" \ "$(if $(CONFIG_CPU_BIG_ENDIAN),big,little)" \