Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1098220imm; Wed, 17 Oct 2018 13:20:14 -0700 (PDT) X-Google-Smtp-Source: ACcGV6338eCc3nxAgu10At8ndcuoha8uVlI8w/E2ng3A8aAYBrhw5qi9kHDtVDFRmGyQ+FB3lV1g X-Received: by 2002:a63:2483:: with SMTP id k125-v6mr25638190pgk.287.1539807614496; Wed, 17 Oct 2018 13:20:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539807614; cv=none; d=google.com; s=arc-20160816; b=a/Tqxc1GRtv91IczL7zQa/QS702LZ665ziO2dZfFulF0L7bv8Mx8mk6z7M7CHk68Gd rmUtbTxmg4JRDHuucUFx6SkTqCVFHzHfoXhGH0TPqREebeV23N1IavnP1w5ZUvp8i7f0 ONIHLvAGNEwWayKKOekFxr3gcYQQnTm15hYqJFa88SYQiE71YvvvN0MYonDMEk3MD/Dm PDuleOOFxNUQtHAT6WsBTDcMalV/sCQ7UxxWpM/ocX+W81/4lhDLlUacKQgGi+1PJc+N //R4cnoNXqnZxTEwqPigkWUlPUWy2tgUtTGG2g6mJQmsDAzCAIuaPVgIQTSHeByPbnKp RwlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=i4glb6VLsVRtNeHdb/MZlfTYT72H4y1V13Janv1YCrM=; b=brpZN4v98dt9ds0Z9WilCJ89K9178JGDGJ1wKzoUF4/yHFBrjdYeJOzlYXNQNpJ+2s Jq/voFd3qi+NgbHUyms1cgZJIcxFst25TAAbHNZDBdA6FosHl9LWlD3o86VE/XbcZuRl 67tkum+/whOIJnpdiFlyonxd0OIb4ocl0UdbeEWXLCf/KQkl1Epip5tpEKQlWP4EIOV4 50Aug8SV2lif9S2oIuU/3JbMotDeF8U5CI8Wcdw5pkCBYJdtF/nS3V5ZiDCXWm4csbEu wxHEtPZGJ9F3OZ9u1otC2ntOrucmHitlawJNds9dzPVjD6dN2HTqH6dScjnn8h7tui61 vH4Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 34-v6si18601826pln.402.2018.10.17.13.19.58; Wed, 17 Oct 2018 13:20:14 -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; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727303AbeJREQq (ORCPT + 99 others); Thu, 18 Oct 2018 00:16:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:50860 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725737AbeJREQq (ORCPT ); Thu, 18 Oct 2018 00:16:46 -0400 Received: from gandalf.local.home (cpe-66-24-56-78.stny.res.rr.com [66.24.56.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5D6C42087A; Wed, 17 Oct 2018 20:19:25 +0000 (UTC) Date: Wed, 17 Oct 2018 16:19:23 -0400 From: Steven Rostedt To: Nikolay Borisov Cc: mingo@redhat.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] tracing: Export trace_dump_stack to modules Message-ID: <20181017161923.310ca1a4@gandalf.local.home> In-Reply-To: <1539759103-5923-1-git-send-email-nborisov@suse.com> References: <1539759103-5923-1-git-send-email-nborisov@suse.com> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 17 Oct 2018 09:51:43 +0300 Nikolay Borisov wrote: > There is no reason for this function to be unexprted and it's a useful > debugging aid. > > Signed-off-by: Nikolay Borisov Thanks, I added this to my queue for the merge window. -- Steve > --- > kernel/trace/trace.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c > index bf6f1d70484d..15c7a7d01505 100644 > --- a/kernel/trace/trace.c > +++ b/kernel/trace/trace.c > @@ -2727,6 +2727,7 @@ void trace_dump_stack(int skip) > __ftrace_trace_stack(global_trace.trace_buffer.buffer, > flags, skip, preempt_count(), NULL); > } > +EXPORT_SYMBOL_GPL(trace_dump_stack); > > static DEFINE_PER_CPU(int, user_stack_count); >