Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760480AbZKZMfT (ORCPT ); Thu, 26 Nov 2009 07:35:19 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760439AbZKZMfS (ORCPT ); Thu, 26 Nov 2009 07:35:18 -0500 Received: from hera.kernel.org ([140.211.167.34]:57907 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760425AbZKZMfQ (ORCPT ); Thu, 26 Nov 2009 07:35:16 -0500 Date: Thu, 26 Nov 2009 12:34:16 GMT From: tip-bot for Ingo Molnar Cc: linux-kernel@vger.kernel.org, hpa@zytor.com, mingo@redhat.com, penberg@cs.helsinki.fi, lizf@cn.fujitsu.com, mel@csn.ul.ie, fweisbec@gmail.com, rostedt@goodmis.org, tglx@linutronix.de, mingo@elte.hu Reply-To: mingo@redhat.com, hpa@zytor.com, linux-kernel@vger.kernel.org, lizf@cn.fujitsu.com, penberg@cs.helsinki.fi, mel@csn.ul.ie, fweisbec@gmail.com, rostedt@goodmis.org, tglx@linutronix.de, mingo@elte.hu In-Reply-To: <4B0E286A.2000405@cn.fujitsu.com> References: <4B0E286A.2000405@cn.fujitsu.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] tracing: Fix kmem event exports Message-ID: Git-Commit-ID: 4d795fb17a02a87e35782773b88b7a63acfbeaae X-Mailer: tip-git-log-daemon MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1932 Lines: 66 Commit-ID: 4d795fb17a02a87e35782773b88b7a63acfbeaae Gitweb: http://git.kernel.org/tip/4d795fb17a02a87e35782773b88b7a63acfbeaae Author: Ingo Molnar AuthorDate: Thu, 26 Nov 2009 13:11:46 +0100 Committer: Ingo Molnar CommitDate: Thu, 26 Nov 2009 13:17:43 +0100 tracing: Fix kmem event exports Commit 53d0422 ("tracing: Convert some kmem events to DEFINE_EVENT") moved the kmem tracepoint creation from util.c to page_alloc.c, but forgot to move the exports. Move them back. Cc: Li Zefan Cc: Pekka Enberg Cc: Steven Rostedt Cc: Frederic Weisbecker Cc: Mel Gorman LKML-Reference: <4B0E286A.2000405@cn.fujitsu.com> Signed-off-by: Ingo Molnar --- mm/page_alloc.c | 4 +--- mm/util.c | 3 +++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c index bdb22f5..2bc2ac6 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -48,14 +48,12 @@ #include #include #include +#include #include #include #include "internal.h" -#define CREATE_TRACE_POINTS -#include - /* * Array of node states. */ diff --git a/mm/util.c b/mm/util.c index 15d1975..7c35ad9 100644 --- a/mm/util.c +++ b/mm/util.c @@ -6,6 +6,9 @@ #include #include +#define CREATE_TRACE_POINTS +#include + /** * kstrdup - allocate space for and copy an existing string * @s: the string to duplicate -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/