Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6126837rwr; Tue, 9 May 2023 10:32:59 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4X6HKMhSBetP8fm1L7u5y+QsiANFORM+watLDdRhm6eFC7AXJVqBOdLjgB6UaUViiL82bK X-Received: by 2002:a17:902:da90:b0:1a2:2091:eeae with SMTP id j16-20020a170902da9000b001a22091eeaemr18118845plx.40.1683653579109; Tue, 09 May 2023 10:32:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683653579; cv=none; d=google.com; s=arc-20160816; b=jMV92hhdyTAHs0E7Bn5CreB0nJ2m2bUOLvGGgpMbeavrKha5+ZbhZMlRjDDpiVRzzr M31kl7HaerbJAmUBgNdqrs+Jpojawj5aIGz3OYjKZTIbHdJs33y63czt0dfafywwUaYr c6bG354dnRfkrHisPlazt6ed7VFQwtm0SpENNllvdxgdWou2b36YYhwlvkxJAHfotW6q GcovEQ6zS2cflX7HzahYUAMRPU0BOVahX5kWaRgTdUpp+eDLhI3rT+ys0KhPkN9RA2KZ LAkQFz0xxB1LMGarF6qab+14rvaKZ8E+oRvuU0LOeDDkmX0+Kb724qiofbeWBwIEnId1 Nnmw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=R1CKn2DNdt+nUP3OEYLc0FEKerxTzeneNiYGijAjw4w=; b=xeouBhRKXscWN9cZ0jG32B+tH1GgraeJ2REg2ccr8s6gM8MIi04pMwWaK5cFr+tQGa ypPvvMj1PMf/pMzh/uh9THuq1InSGwD9FB9B+6QcUIb2qG5E58HwnMQb+nu8KaRxJZWJ G8mAk50M0zEYrxnUVf34yyNdoc7wlMdEy0pQklc/ESo4gVbX8SDL5PoHxAxfK5cpph4O QuuGgwWuAtyqh2klnX5xK5aWbW4vjBXXNSyJ0FZCahXam2NsYnCa7DUySzz2y151sTJw m/xi9qbb4carldkOyyYEx0zYGVTs9ByFkrF2zbOWfZ4sGdyARLBiCAxvlqp9Wig2uCRI L2eQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=MWyrh9lT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ix9-20020a170902f80900b001a94b91f402si1909594plb.218.2023.05.09.10.32.46; Tue, 09 May 2023 10:32:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=MWyrh9lT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235452AbjEIRA7 (ORCPT + 99 others); Tue, 9 May 2023 13:00:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235450AbjEIRAE (ORCPT ); Tue, 9 May 2023 13:00:04 -0400 Received: from out-2.mta1.migadu.com (out-2.mta1.migadu.com [95.215.58.2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 395C06A5A for ; Tue, 9 May 2023 09:57:57 -0700 (PDT) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1683651458; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=R1CKn2DNdt+nUP3OEYLc0FEKerxTzeneNiYGijAjw4w=; b=MWyrh9lTZEKvAjK54wQLwMmHmVWpNM37wFWrK8Q5auXGHq22dsN5xqqiOumHjYP49lY2bB o8u0C/aFn62GOYNPBbIfgOahC2Fj+hR7+2lBPSyPpU+gL7KBAllKr1kecg10NBdQmKTRqa dOIjSLmj5brVSuAmKbeJPBDHpevngMs= From: Kent Overstreet To: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-bcachefs@vger.kernel.org Cc: Christopher James Halse Rogers , Kent Overstreet Subject: [PATCH 28/32] stacktrace: Export stack_trace_save_tsk Date: Tue, 9 May 2023 12:56:53 -0400 Message-Id: <20230509165657.1735798-29-kent.overstreet@linux.dev> In-Reply-To: <20230509165657.1735798-1-kent.overstreet@linux.dev> References: <20230509165657.1735798-1-kent.overstreet@linux.dev> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Christopher James Halse Rogers The bcachefs module wants it, and there doesn't seem to be any reason it shouldn't be exported like the other functions. Signed-off-by: Christopher James Halse Rogers Signed-off-by: Kent Overstreet --- kernel/stacktrace.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/stacktrace.c b/kernel/stacktrace.c index 9ed5ce9894..4f65824879 100644 --- a/kernel/stacktrace.c +++ b/kernel/stacktrace.c @@ -151,6 +151,7 @@ unsigned int stack_trace_save_tsk(struct task_struct *tsk, unsigned long *store, put_task_stack(tsk); return c.len; } +EXPORT_SYMBOL_GPL(stack_trace_save_tsk); /** * stack_trace_save_regs - Save a stack trace based on pt_regs into a storage array @@ -301,6 +302,7 @@ unsigned int stack_trace_save_tsk(struct task_struct *task, save_stack_trace_tsk(task, &trace); return trace.nr_entries; } +EXPORT_SYMBOL_GPL(stack_trace_save_tsk); /** * stack_trace_save_regs - Save a stack trace based on pt_regs into a storage array -- 2.40.1