From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759562AbYJQAB5 (ORCPT ); Thu, 16 Oct 2008 20:01:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755813AbYJPX4f (ORCPT ); Thu, 16 Oct 2008 19:56:35 -0400 Received: from smtp.polymtl.ca ([132.207.4.11]:49090 "EHLO smtp.polymtl.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756824AbYJPX4e (ORCPT ); Thu, 16 Oct 2008 19:56:34 -0400 Message-Id: <20081016234656.385520321@polymtl.ca> References: <20081016232729.699004293@polymtl.ca> User-Agent: quilt/0.46-1 Date: Thu, 16 Oct 2008 19:27:35 -0400 From: Mathieu Desnoyers To: Linus Torvalds , Andrew Morton , Ingo Molnar , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Steven Rostedt , Peter Zijlstra , Thomas Gleixner Cc: David Miller , Mathieu Desnoyers , Ingo Molnar , "William L. Irwin" Subject: [RFC patch 06/15] LTTng build Content-Disposition: inline; filename=lttng-build-instrumentation-menu.patch X-Poly-FromMTA: (test.casi.polymtl.ca [132.207.72.60]) at Thu, 16 Oct 2008 23:54:45 +0000 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Adds the basic LTTng config options. sparc32 needs to have ltt/ added to core-y for some reason (seems broken). ltt/Kconfig is sourced from kernel/Kconfig.instrumentation. Signed-off-by: Mathieu Desnoyers CC: Linus Torvalds CC: Andrew Morton CC: Ingo Molnar CC: Peter Zijlstra CC: Thomas Gleixner CC: Steven Rostedt CC: William L. Irwin --- Makefile | 2 +- arch/sparc/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) Index: linux-2.6-lttng/arch/sparc/Makefile =================================================================== --- linux-2.6-lttng.orig/arch/sparc/Makefile 2008-10-16 18:16:33.000000000 -0400 +++ linux-2.6-lttng/arch/sparc/Makefile 2008-10-16 18:16:38.000000000 -0400 @@ -37,7 +37,7 @@ drivers-$(CONFIG_OPROFILE) += arch/sparc # Renaming is done to avoid confusing pattern matching rules in 2.5.45 (multy-) INIT_Y := $(patsubst %/, %/built-in.o, $(init-y)) CORE_Y := $(core-y) -CORE_Y += kernel/ mm/ fs/ ipc/ security/ crypto/ block/ +CORE_Y += kernel/ mm/ fs/ ipc/ security/ crypto/ block/ ltt/ CORE_Y := $(patsubst %/, %/built-in.o, $(CORE_Y)) DRIVERS_Y := $(patsubst %/, %/built-in.o, $(drivers-y)) NET_Y := $(patsubst %/, %/built-in.o, $(net-y)) Index: linux-2.6-lttng/Makefile =================================================================== --- linux-2.6-lttng.orig/Makefile 2008-10-16 18:16:33.000000000 -0400 +++ linux-2.6-lttng/Makefile 2008-10-16 18:16:38.000000000 -0400 @@ -619,7 +619,7 @@ export mod_strip_cmd ifeq ($(KBUILD_EXTMOD),) -core-y += kernel/ mm/ fs/ ipc/ security/ crypto/ block/ +core-y += kernel/ mm/ fs/ ipc/ security/ crypto/ block/ ltt/ vmlinux-dirs := $(patsubst %/,%,$(filter %/, $(init-y) $(init-m) \ $(core-y) $(core-m) $(drivers-y) $(drivers-m) \ -- Mathieu Desnoyers Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68