Received: by 10.223.176.5 with SMTP id f5csp394178wra; Fri, 9 Feb 2018 00:30:21 -0800 (PST) X-Google-Smtp-Source: AH8x224GGfSKJ4EocDoYd3DdZKCF5dUl/IIL6EdzxoaPDOl4JfWEKNBAOZIaS9lCqOBBLkDqU0Iv X-Received: by 10.99.178.68 with SMTP id t4mr1453287pgo.441.1518165021104; Fri, 09 Feb 2018 00:30:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518165021; cv=none; d=google.com; s=arc-20160816; b=jvrrCX50aSvkxIH5BM6KOMHgbqq2rpjhIDAnNxelSGQrcAyMvjCGQG+1cUC8Drk2J1 Sp3k4QUfP82OQZIDLaT3QEN5tWm8dU5trjnqAC5iC0T8zHu3JETOl7u6k4MoQFRjZmzr uXzDEFH1a4Ccd4IW7Di+GbYatUVcKmBG85Pdg/gZ89GrI9X5WV/hlAT5R08y7YhfXtzD MyTSbx4YcpP5bOS0+bkeGkx0O2plL7gpN/C8WhvHjA7PkU6snR/M1+Yp9f9WOGQo7DwP LVMotCGVTZFRhTpjmZm4NS5cza/5qz2P+Ql1PVjsoeDVwoCfE3w19aSuUbwIAzpkV1eD 87Jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=vvwaNYKn+crCgOvATs3ie3xuVs1Tl/OwepAoKRvTnF8=; b=ucClwjhQOhi3JeCCER8czO9TX6rkQ/x6nx5v75GzPHGrgZ6GIUFJDnQCM+aH6MAtXK 1TJFA4cKOFB+J/iXtKZC5dULD8UjEix+RYjDTVtjJVmozrlfbinSclfzcRgtfKG1PEvA u+aE/1DhOf3IK4etN5FJKQ9cW/IEZoMpwhDIa8gho0k5kT4lZ7ZxEkw0e3nkilh1/pVt MDjLDwCqGaDR8k1bWCsYy/zE9F8fBPrDrHXfaoxDmPHBDTejVj/ZVZ0BiXZ+QHYBWGUf oJc95xQW+WBcjZZDgkuAyH/08J9lgZfzjE99BpRqy8al3S9hZsIa1oH/8SRwGQzCZqi7 w/dA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n8si1060254pfg.69.2018.02.09.00.30.06; Fri, 09 Feb 2018 00:30:21 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751144AbeBII1v (ORCPT + 99 others); Fri, 9 Feb 2018 03:27:51 -0500 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:44696 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750925AbeBII1v (ORCPT ); Fri, 9 Feb 2018 03:27:51 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 729654022905; Fri, 9 Feb 2018 08:27:50 +0000 (UTC) Received: from dhcp-128-65.nay.redhat.com (ovpn-12-52.pek2.redhat.com [10.72.12.52]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8B0AE2026DFD; Fri, 9 Feb 2018 08:27:47 +0000 (UTC) Date: Fri, 9 Feb 2018 16:27:43 +0800 From: Dave Young To: Sergey Senozhatsky Cc: Steven Rostedt , Petr Mladek , linux-kernel@vger.kernel.org, akpm@linux-foundation.org, Andi Kleen Subject: Re: [PATCH] printk: move dump stack related code to lib/dump_stack.c Message-ID: <20180209082743.GA14845@dhcp-128-65.nay.redhat.com> References: <20180209080624.GA2607@dhcp-128-65.nay.redhat.com> <20180209081604.GE689@jagdpanzerIV> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180209081604.GE689@jagdpanzerIV> User-Agent: Mutt/1.9.1 (2017-09-22) X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Fri, 09 Feb 2018 08:27:50 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Fri, 09 Feb 2018 08:27:50 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'dyoung@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/09/18 at 05:16pm, Sergey Senozhatsky wrote: > Hi, > > On (02/09/18 16:06), Dave Young wrote: > [..] > > +void __init dump_stack_set_arch_desc(const char *fmt, ...) > .. > > +void dump_stack_print_info(const char *log_lvl) > .. > > +void show_regs_print_info(const char *log_lvl) > .. > > Seems that those functions are still defined in printk header. > Did you test !CONFIG_PRINTK build? !CONFIG_PRINTK will use the dummy functions in printk.h, I did not test the build, doing it now to double confirm.. Thanks Dave > > -ss