Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp306596imm; Tue, 16 Oct 2018 23:54:08 -0700 (PDT) X-Google-Smtp-Source: ACcGV60nM79yAbABLiFMWi0SzwZ2wpef40a0fJNJek5xWUJfyWzLO/O2l79TAZTfdrQAkxdX5GD5 X-Received: by 2002:a63:4454:: with SMTP id t20-v6mr22899522pgk.102.1539759247948; Tue, 16 Oct 2018 23:54:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539759247; cv=none; d=google.com; s=arc-20160816; b=UmJs0VTcnIfBh7GCSm4rJkYahRweCDA5/tma4hC4THoDOId5NVaJ48kFhWoxBTn4AX f4ztxQEfM24GKdg2UGg1J0IiPdI06hRuO81lfieznsIfgAWmMPwbh/ooaaY5f+EIfA7v DcDQtXR5zhL6UznlQVVGYHzI7GYvbJE+EmAWECUM2ODM99vVrBxVIYD5BQy2kPJ+SnSQ vF7raRNhYOHilwpEqT68/SaA+5P+/MjlYbXNuBjXyeR64mevQR38X1conxUoOskM2GL6 Iq9e7dpMkUWMUpryJRQ66fCKsvDMY5peO3i+CE1TibcjxHDoGoquqwrLKuTC1ITf4QqQ 2mzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=GR8qYAW+Xkt4VrCTX2iKZEPZXcIZXfFjNrndpfgQR94=; b=q3eaEWv7641/TQBurnF+ftHcdV7OpT9zHfRBHXxYCYLE/TvomHkMWGgRPuRZdMUe9V GhP/z0+EvzcyFFQqyX4LK5TI0gaEZ4HYGucOyQGM00aHGRul+1i3TkdTRFnPKwJP8ekm nsLtz4tRvGOlC9tu3Qn73NC752viSLEWPmtlAccGn7OTGA2p7O/hs63bh6qTsbOfB9s1 rXe9sdormcL2Z05R04yRmwlcK089b6OG/Y3HemYovvg0wNJzKmHH0N5Gh6+eGn1dpO3A 5GcTDlFu4ePImF7G4c58uvD8w7wV4ucOTfyjv4FmNbJjGVxCXjQvlOtGA7Ewc5xkFHrC UMwA== 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 w2-v6si18128862plk.373.2018.10.16.23.53.52; Tue, 16 Oct 2018 23:54:07 -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 S1727633AbeJQOp6 (ORCPT + 99 others); Wed, 17 Oct 2018 10:45:58 -0400 Received: from mx2.suse.de ([195.135.220.15]:57282 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727262AbeJQOp6 (ORCPT ); Wed, 17 Oct 2018 10:45:58 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 3D1D3AD3C; Wed, 17 Oct 2018 06:51:46 +0000 (UTC) From: Nikolay Borisov To: rostedt@goodmis.org Cc: mingo@redhat.com, linux-kernel@vger.kernel.org, Nikolay Borisov Subject: [PATCH] tracing: Export trace_dump_stack to modules Date: Wed, 17 Oct 2018 09:51:43 +0300 Message-Id: <1539759103-5923-1-git-send-email-nborisov@suse.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There is no reason for this function to be unexprted and it's a useful debugging aid. Signed-off-by: Nikolay Borisov --- 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); -- 2.7.4