From patchwork Tue Apr 22 14:22:45 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Drew Richardson X-Patchwork-Id: 28821 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f71.google.com (mail-oa0-f71.google.com [209.85.219.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 44D8220341 for ; Tue, 22 Apr 2014 14:23:09 +0000 (UTC) Received: by mail-oa0-f71.google.com with SMTP id j17sf35023589oag.2 for ; Tue, 22 Apr 2014 07:23:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:date:from:to:subject:message-id :mime-version:user-agent:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe:content-type:content-disposition; bh=ufJaa7evlT1z69p8PwHJEE1D6nkZ4FDz9CRJ/yOLJjY=; b=iVPkJ4liveabo6qC+CG6BuLgXGau/ptk4cY9/kMMXtc55FvIekbBwIp6VyMvyhw/2j cgZtnQjzsYZ02thwr+1XK4N7zM/Vad1Vbavt1Ijxx4tKWwvVdaHF+Gl+h24r8AQOC18j O+Ld7NvDNo0v7nTYJ30EbC/dlWZLvd7dwnMolCwfXadfuPjCqTHEW5OdNeByeaZjb5Gg 8PmgZ6aLFsaHDKYFtC7iSX38PjhnER6FB1A19J4xJoOQJbwJP7ByVz9W7CCVdOUwQCeR FWqOe+Mz/zsOgp4Ho3+nhds7PQFHaHSxd92nkT/AGInjcdK7v3WSaC1HWaRPgDa3I1tR YTnQ== X-Gm-Message-State: ALoCoQmz7qlI56s4x7hTDwKO1dtbO3nQn+n3ayx8tXteC+8odKoHwcEqxzD85yxgq+WY35kgqpff X-Received: by 10.43.103.136 with SMTP id di8mr18079052icc.14.1398176588801; Tue, 22 Apr 2014 07:23:08 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.23.232 with SMTP id 95ls127520qgp.68.gmail; Tue, 22 Apr 2014 07:23:08 -0700 (PDT) X-Received: by 10.52.163.145 with SMTP id yi17mr448150vdb.46.1398176588546; Tue, 22 Apr 2014 07:23:08 -0700 (PDT) Received: from mail-ve0-f177.google.com (mail-ve0-f177.google.com [209.85.128.177]) by mx.google.com with ESMTPS id sc12si6917660veb.187.2014.04.22.07.23.08 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 22 Apr 2014 07:23:08 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.177 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.177; Received: by mail-ve0-f177.google.com with SMTP id sa20so9491183veb.36 for ; Tue, 22 Apr 2014 07:23:08 -0700 (PDT) X-Received: by 10.58.132.228 with SMTP id ox4mr65089veb.54.1398176588466; Tue, 22 Apr 2014 07:23:08 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp28635vcb; Tue, 22 Apr 2014 07:23:08 -0700 (PDT) X-Received: by 10.68.110.129 with SMTP id ia1mr3704634pbb.158.1398176587680; Tue, 22 Apr 2014 07:23:07 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id zm10si22113190pbc.146.2014.04.22.07.23.06; Tue, 22 Apr 2014 07:23:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756491AbaDVOW7 (ORCPT + 26 others); Tue, 22 Apr 2014 10:22:59 -0400 Received: from fw-tnat.austin.arm.com ([217.140.110.23]:13064 "EHLO collaborate-mta1.arm.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752201AbaDVOW4 (ORCPT ); Tue, 22 Apr 2014 10:22:56 -0400 Received: from localhost (dreric01-precision-t1600.usa.arm.com [10.99.3.180]) by collaborate-mta1.arm.com (Postfix) with ESMTP id 74D6913F7F3; Tue, 22 Apr 2014 09:22:45 -0500 (CDT) Date: Tue, 22 Apr 2014 07:22:45 -0700 From: Drew Richardson To: Andrew Morton , Jerome Marchand , Joonsoo Kim , Michel Lespinasse , Mikulas Patocka , William Roberts , Gideon Israel Dsouza , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Pawel Moll Subject: [PATCH] Export kmem tracepoints for use by kernel modules Message-ID: <20140422142244.GA21121@dreric01-Precision-T1600> MIME-Version: 1.0 User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: drew.richardson@arm.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.177 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Content-Disposition: inline After commit de7b2973903c6cc50b31ee5682a69b2219b9919d ("tracepoint: Use struct pointer instead of name hash for reg/unreg tracepoints"), any tracepoints used in a kernel module must be exported. Signed-off-by: Drew Richardson Acked-by: Pawel Moll --- mm/util.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mm/util.c b/mm/util.c index f380af7ea779..379e8db560b3 100644 --- a/mm/util.c +++ b/mm/util.c @@ -502,3 +502,9 @@ EXPORT_TRACEPOINT_SYMBOL(kmalloc_node); EXPORT_TRACEPOINT_SYMBOL(kmem_cache_alloc_node); EXPORT_TRACEPOINT_SYMBOL(kfree); EXPORT_TRACEPOINT_SYMBOL(kmem_cache_free); +EXPORT_TRACEPOINT_SYMBOL_GPL(mm_page_free); +EXPORT_TRACEPOINT_SYMBOL_GPL(mm_page_free_batched); +EXPORT_TRACEPOINT_SYMBOL_GPL(mm_page_alloc); +EXPORT_TRACEPOINT_SYMBOL_GPL(mm_page_alloc_zone_locked); +EXPORT_TRACEPOINT_SYMBOL_GPL(mm_page_pcpu_drain); +EXPORT_TRACEPOINT_SYMBOL_GPL(mm_page_alloc_extfrag);