From patchwork Sun Nov 5 16:06:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Masami Hiramatsu (Google)" X-Patchwork-Id: 161658 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:8f47:0:b0:403:3b70:6f57 with SMTP id j7csp2196062vqu; Sun, 5 Nov 2023 08:07:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IEQbCBOwM4yuFbZLgFv8Zcv7nhVaiJveRxVWB6aP5BLB0VO4iMsQNplGHRvkeW6C+gBgsU5 X-Received: by 2002:a05:6a20:daa0:b0:181:b044:449e with SMTP id iy32-20020a056a20daa000b00181b044449emr9538705pzb.54.1699200448675; Sun, 05 Nov 2023 08:07:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699200448; cv=none; d=google.com; s=arc-20160816; b=d9/c2K14WGCeARNg+F15Tc7pY+ylxdbe/Op/oKKI31TiLtL/n+LVy4h+850Mq36dB3 rpar558URf9mBwxRH826VjgAwKccykSczxVR8A2/KqXN5dtCAv28glBkcAJ6rqX68y9Q rqTwphJTqN1+c6RAFNkpOnyGwz5lnb+BMY9b0Vu3p7Uo6JCIyJiNoK/rlOK6UgTPiJoZ zQwPBxPl97REkzN83QWZXC0zISAmQ5vg4+ixMx+VhAtaa11D+au3ZEOq619FM2RRfkfJ mHbeYa8y2qW9xfHjOX366D3TEcF7EmKXIkgNS9X0/XMoC2rNq1GORb4KzSarsBfbpRqt OsEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=qfk82260fwHivQEmABc475lIDB13RydsA/UW3+hrbac=; fh=SIgps5XdV0XNwjZfT2uAI7g3mrspDldK9Qs8qQAfoa4=; b=0wKExhy0RgdzqkK73Pt3qE1cqhQhCeePbNolpqolWUlQvLJHPLGnDLG6UjQjXdNh7F kzNoHLHIxEvf61++JWmayIHDlh778U8UiGk2HhCGvVu/ZSvs9z67qDLsIRGG76AkwZlL lg94xujKoVo6i6gSTwVAplcVsKMNBNYQCLOQhpGw+VI5m6q9jnFlMXcvYf2Cu3rMyb7w CuC9nFkAwbacTFkr/x0Bg/sqhO+0skrELMrTy5yCijHDcI2weApmOJqarzpIPQq+4bJo IGBvhmOFYvsvgnrxxwweWE/S/ZwPZE4P+IDoBSIO8LHXwrkL3UXeNElGDeL/EJ72qo1O efvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ef713k2m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id 126-20020a630284000000b0058b8c72c5ddsi5964047pgc.607.2023.11.05.08.07.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Nov 2023 08:07:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ef713k2m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id DC00B8057DAE; Sun, 5 Nov 2023 08:07:16 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229562AbjKEQGx (ORCPT + 34 others); Sun, 5 Nov 2023 11:06:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229537AbjKEQGv (ORCPT ); Sun, 5 Nov 2023 11:06:51 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4B21191 for ; Sun, 5 Nov 2023 08:06:48 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A349EC433C8; Sun, 5 Nov 2023 16:06:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1699200408; bh=EOdwMS7vJXCXxyNePs9bFMY5mRinN5nN+9oKZfWkeWA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ef713k2m2K4eL84abS39rEQUpBZwFs43cTbJdH3llK22MC21YmzXABUiIiN7D8bjt /vgWl0JqdcWk2tEAJZ+HXoMjE7CGnZYqOB642cjq8stbyC7LpPp1bYxMOaXX78dkbC Db2kLPcdmDWjLmRgJYzy/kzuAqMyRD0LYULsnwMdYNCy7LkIFNRkxs7JF3R5Z9fj00 R2dD5noVOcxWyUK/QOIcVhhogsmo4hEryhU+RUwIMXYaXIOlqqnpUe0HSdPeS4Y1vz cKbdazyENiYlzmh38MQYqnyrGIfr+L0Z0osDfe16RP9Fy6NYil782LRyB+F0gIl//R 0jkk1vyRE0lKA== From: "Masami Hiramatsu (Google)" To: Alexei Starovoitov , Steven Rostedt , Florent Revest Cc: linux-trace-kernel@vger.kernel.org, LKML , Martin KaFai Lau , bpf , Sven Schnelle , Alexei Starovoitov , Jiri Olsa , Arnaldo Carvalho de Melo , Daniel Borkmann , Alan Maguire , Mark Rutland , Peter Zijlstra , Thomas Gleixner , Guo Ren Subject: [RFC PATCH 01/32] seq_buf: Export seq_buf_puts() Date: Mon, 6 Nov 2023 01:06:42 +0900 Message-Id: <169920040166.482486.9804422686448685654.stgit@devnote2> X-Mailer: git-send-email 2.34.1 In-Reply-To: <169920038849.482486.15796387219966662967.stgit@devnote2> References: <169920038849.482486.15796387219966662967.stgit@devnote2> User-Agent: StGit/0.19 MIME-Version: 1.0 X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Sun, 05 Nov 2023 08:07:16 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781740809507230728 X-GMAIL-MSGID: 1781740809507230728 From: Christophe JAILLET Mark seq_buf_puts() which is part of the seq_buf API to be exported to kernel loadable GPL modules. Link: https://lkml.kernel.org/r/b9e3737f66ec2450221b492048ce0d9c65c84953.1698861216.git.christophe.jaillet@wanadoo.fr Signed-off-by: Christophe JAILLET Signed-off-by: Steven Rostedt (Google) Signed-off-by: Masami Hiramatsu (Google) --- lib/seq_buf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/seq_buf.c b/lib/seq_buf.c index 45c450f423fa..46a1b00c3815 100644 --- a/lib/seq_buf.c +++ b/lib/seq_buf.c @@ -189,6 +189,7 @@ int seq_buf_puts(struct seq_buf *s, const char *str) seq_buf_set_overflow(s); return -1; } +EXPORT_SYMBOL_GPL(seq_buf_puts); /** * seq_buf_putc - sequence printing of simple character