From patchwork Mon Aug 26 03:17:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Masami Hiramatsu (Google)" X-Patchwork-Id: 11113891 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6E0A41813 for ; Mon, 26 Aug 2019 03:17:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4B68E2190F for ; Mon, 26 Aug 2019 03:17:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566789431; bh=8RzbIez3/gV7djsGVGljsi9n/uUzLTL1tlAOyhS3Cmw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=ly8g3lzGFz6LRN3hMZz6wGz61XRjSLnuCvpc0+uZJTy+zEd6k9xuPPXikp3vBEi59 2QHtinfSWziUupmwGoF6oAHqaADcXO/o0mWTMy+aU4JXiwUud1qRhLWINUG2dqFv+X KWFuKHmzSnJlE9TSbQazKelcol1I8HoGJzj5/ncc= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729379AbfHZDRH (ORCPT ); Sun, 25 Aug 2019 23:17:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:36180 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726434AbfHZDRH (ORCPT ); Sun, 25 Aug 2019 23:17:07 -0400 Received: from localhost.localdomain (NE2965lan1.rev.em-net.ne.jp [210.141.244.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E07DC2168B; Mon, 26 Aug 2019 03:17:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566789427; bh=8RzbIez3/gV7djsGVGljsi9n/uUzLTL1tlAOyhS3Cmw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=b4wmwFNgY+/8VTmajXrij1vDg3ji9OW113jOcdKvDeoFTZK0H8LZjUbYRlxUmuUgS QWCCDwqoiQKrCS8MMJp2u6JBalwG0usrcfctdpz8RmPKtNYHfYiCstVAgTU9hVnuWe 6L9+yk59t1szGt8FJaaqASqv1AbPf6RxZpQSTh2c= From: Masami Hiramatsu To: Steven Rostedt , Frank Rowand Cc: Ingo Molnar , Namhyung Kim , Tim Bird , Jiri Olsa , Arnaldo Carvalho de Melo , Tom Zanussi , Rob Herring , Andrew Morton , Thomas Gleixner , Greg Kroah-Hartman , Alexey Dobriyan , Jonathan Corbet , Linus Torvalds , linux-doc@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH v3 07/19] tracing: Expose EXPORT_SYMBOL_GPL symbol Date: Mon, 26 Aug 2019 12:17:00 +0900 Message-Id: <156678942047.21459.8827037624340615081.stgit@devnote2> X-Mailer: git-send-email 2.20.1 In-Reply-To: <156678933823.21459.4100380582025186209.stgit@devnote2> References: <156678933823.21459.4100380582025186209.stgit@devnote2> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org Since ftrace_set_clr_event is already exported by EXPORT_SYMBOL_GPL, it should not be static. Signed-off-by: Masami Hiramatsu --- kernel/trace/trace_events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/trace/trace_events.c b/kernel/trace/trace_events.c index 22cf08bd2317..c2d38048edae 100644 --- a/kernel/trace/trace_events.c +++ b/kernel/trace/trace_events.c @@ -788,7 +788,7 @@ static int __ftrace_set_clr_event(struct trace_array *tr, const char *match, return ret; } -static int ftrace_set_clr_event(struct trace_array *tr, char *buf, int set) +int ftrace_set_clr_event(struct trace_array *tr, char *buf, int set) { char *event = NULL, *sub = NULL, *match; int ret;