Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp700897pxa; Fri, 14 Aug 2020 15:50:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxwKk2dMv5dMT2R+sLkTFKNkTI/hu+APkhWAVDjTe8CXEht7zkGoV9V6RgKGhLM2G5qaS9F X-Received: by 2002:a05:6402:3135:: with SMTP id dd21mr4641675edb.123.1597445457824; Fri, 14 Aug 2020 15:50:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597445457; cv=none; d=google.com; s=arc-20160816; b=Y45qLh8Yh+d+eBFUd6MJ/8eYm8kOn7nMRN/lu156KeTjRsOzYr04Q/NNzylKhf7DxA UzoggioaAbXZF2GbuK9zf4ToZ3ZAESs+4c4dtjPIca5TWFNW6PFYf/rmlqIhBAna24ax erBQm7DwRaeJuj2t2WgeS0wfCZV2F/v7hKlCxH9Jn6bkoEdafwAvsS5tCsMnqYYPb0sD MAblaDCaaRD5QSU9ZipGoPtipyk/S1i7+vhmBLNPFoerNHzUZi8JyBAmFOE1pWHiZLC3 jzDbVXYmoEWo2t/d96zzvS9MNOd5h+uEzwWquYD/mb/uMTTB0dPg5ur6E0kCuAzRNXES P2HA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=YeiaI0cBbmIVgM9KK8qJD1B8RoJBQ6CWSMWYzinrWjc=; b=UOnYtNcyvgOhqin7nhKwvKRpQHVoJ0jVVys105ts1I6ZOtVPWfu5dHiH6crFIJQFcl bBDosz7wPy/6txBxq5si9+9gVStB02LfMfqphHFj/4DXisJFLWVzQy+b1fBWKOemgtG2 MEQbvjvD2fyCPUwrx5LMBVNqcKLVA1xDjLbV7fNmnHCbIkee0B1dV3bq84kgG2eqz2se Y3GqzVz00NxzwYhU2Y4UpCB6XDQU0aAXjcQ7s/XEx4lw3g+aBDT1x2p5ovMvP8Ey+OHV l5iV1IrV/INq19QourrlFgVWt1ZWYx+qiGTlJ5KzS4kVY8Qi26lhi+3dPIdx8S5R8Y0M McMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=KjgK+a6u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f25si6131086edq.447.2020.08.14.15.50.34; Fri, 14 Aug 2020 15:50:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=KjgK+a6u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727822AbgHNWYc (ORCPT + 99 others); Fri, 14 Aug 2020 18:24:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726285AbgHNWYc (ORCPT ); Fri, 14 Aug 2020 18:24:32 -0400 Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E5D5C061385 for ; Fri, 14 Aug 2020 15:24:32 -0700 (PDT) Received: by mail-pl1-x643.google.com with SMTP id f5so4793280plr.9 for ; Fri, 14 Aug 2020 15:24:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=YeiaI0cBbmIVgM9KK8qJD1B8RoJBQ6CWSMWYzinrWjc=; b=KjgK+a6u6Kx6XUlBgSgd8V5i1YscGs6TojRN9+IHp9wxZStU60+jsrTI9g+0bSN1jl J77sCZ3P+O/Xga8pdnYF7q91ojj7jyNCzSc1hrx5X1QU0uWjPu8+o8bQEKkx9wl26ylr xHWLlFiSNkBxaY1NZn/ZBguIpR1iI/g+GR7k8vO5Rs7Uki7fWxn5aHZn4kHpCg3B1GPJ 591tiiihnmDBrkpm7gRPxtbxp+PNMgn7GLZN7L28hVafnk36mOjS5qREqKRz96pe+YMM 6dgtykvIbRjP3CNne9MS8Gw87BiEir1r6bn7lZqCmSeeeyl449ARF5BXTHApo+3FGEP4 sicA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=YeiaI0cBbmIVgM9KK8qJD1B8RoJBQ6CWSMWYzinrWjc=; b=X4aNAIlh25J/7NadX9r6QN93Tnxz0cpikEQehVWOGVd2s9ppc/Q/PcpPnXdQzrlvWT PJeqsKMcVufzQFe/ufUelCpaFl11K1M6y0T6wiOTbqHHZI9qjMAniMAhHRZUIIAlzKmQ 50kfRhYGNFmSEVBf7INBf8V/7qwY0zWEhEnFP5d/q9kjBnh82kl0+czs53nuKW8izBKZ vQJ0bs4fOS1UopT2hV4lDkqUeR0JcOax1/zycBUsWO63Ib6YgNGzOKuwPXDJUasQ3C+e V8NSdytWqed9n34SRzOO6xoWkdCeOo7MgQ+OAhxhB1MqwJmk9RpICP/ya3zij/tYOFym qnmg== X-Gm-Message-State: AOAM531aHk7fk75cx1EcKtyBm5ep/AaaOMGthQnlwQIMdcUZK++ZRVj4 u30MuBiecKuZFVUDnxeRkx/YHYpMxJLsBTaBpDPhCw== X-Received: by 2002:a17:902:cb91:: with SMTP id d17mr3326522ply.223.1597443871397; Fri, 14 Aug 2020 15:24:31 -0700 (PDT) MIME-Version: 1.0 References: <20200814212525.6118-1-john.ogness@linutronix.de> In-Reply-To: <20200814212525.6118-1-john.ogness@linutronix.de> From: Nick Desaulniers Date: Fri, 14 Aug 2020 15:24:19 -0700 Message-ID: Subject: Re: [PATCH 0/2][next] update gdb scripts for lockless printk ringbuffer To: John Ogness Cc: Jan Kiszka , Andrew Morton , Baoquan He , Dave Young , Vivek Goyal , Jonathan Corbet , Kieran Bingham , Petr Mladek , Sergey Senozhatsky , Sergey Senozhatsky , Steven Rostedt , Linus Torvalds , Greg Kroah-Hartman , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 14, 2020 at 2:25 PM John Ogness wrote: > > Hi, > > When we brought in the new lockless printk ringbuffer, we overlooked the gdb > scripts. Here are a set of patches to implement gdb support for the new > ringbuffer. > > John Ogness (2): > scripts/gdb: add utils.read_ulong() > scripts/gdb: update for lockless printk ringbuffer Thanks John! For the series: Tested-by: Nick Desaulniers > > Documentation/admin-guide/kdump/gdbmacros.txt | 153 ++++++++++++------ > scripts/gdb/linux/dmesg.py | 139 +++++++++++----- > scripts/gdb/linux/utils.py | 7 + > 3 files changed, 216 insertions(+), 83 deletions(-) > > -- > 2.20.1 > -- Thanks, ~Nick Desaulniers