Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp673638pxa; Fri, 14 Aug 2020 14:55:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw6qWd4wGGZTjqLl0m8+rSuaKc5okzoQVXBNpB4VthUt2ACLAgUF0kJaa1HkaqKwwOAvK3T X-Received: by 2002:a17:906:dbf4:: with SMTP id yd20mr4413879ejb.369.1597442099941; Fri, 14 Aug 2020 14:54:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597442099; cv=none; d=google.com; s=arc-20160816; b=LyQefkghDr8hAgmgSBXdZKl1mBcyqRZ0qyAQblS/875N4OIlUdUDTdlnkNluNVBlwZ PGgYZbBxOdoR+CiOEjJTl7ehkswS8SH/hr2RSYboTPCyouD4vR0U/cKjk4URI+wLQAxm eeSorQ6A+yQzEZMBeMlgy1JrC1GyE+E8t5SHuBsS2EtKiwPbZqvnjGQo63esI7YU6+aU HPHY+wfUaozVJu2/eDJRC3dYRiwVgFAto6DiMgcVPAY2NaA3lIBuqsrlgIgQVeeLjShZ XvNu3FPkRCc0H1BBvwJZX+FVD6aYkiTUF4KDhgnBqVhZSGc07+6uXe/bT0ZdZVAwUoR0 Mu6g== 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 :message-id:date:subject:cc:to:dkim-signature:dkim-signature:from; bh=eHLqjOXRKN2Sci9A7g2BRjRAHDUcFgA4mPG8Xtywr1c=; b=fj1ga9HuMWVyV5amGtBTpUBGwQC2s+ewSZnjuft2s1AHNLkwjV3uzl9A8nlekVCaQ4 JQVsFRsVNFkXJyNxWRZcgNtK0V43PflsVea1kBzCyDgWsXCDGRmYZETi4VvIJ6zh0tqE pCpYDwbAz3p+rSMhyhQaWtKZZtvVJkumOfhtJaF1NOOSZrpxjmCfef+Is/ato1pY7jdr g9yicSof6nkrsgSWjZGuLcS2KNO4F+XWGXfscvAma+aqKNRmU86tnPuyXoRXQFOFldnV QsyC4WxMxNTfEBu8R2ahpIHGr+PEKVDYMio/1U8B51zJRNyvoc+/2BgKPax3Ozj58RH7 36PA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="Ft/gVlB3"; dkim=neutral (no key) header.i=@vger.kernel.org; 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=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f12si7221998edx.142.2020.08.14.14.54.37; Fri, 14 Aug 2020 14:54:59 -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=@linutronix.de header.s=2020 header.b="Ft/gVlB3"; dkim=neutral (no key) header.i=@vger.kernel.org; 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=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728212AbgHNVZ2 (ORCPT + 99 others); Fri, 14 Aug 2020 17:25:28 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:39070 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727838AbgHNVZ2 (ORCPT ); Fri, 14 Aug 2020 17:25:28 -0400 From: John Ogness DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1597440326; 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; bh=eHLqjOXRKN2Sci9A7g2BRjRAHDUcFgA4mPG8Xtywr1c=; b=Ft/gVlB3yplJWUWW0YiqUsc232KeOSiYvsV8voC0/h8d6zkj3u94//C9R4/CmR8wuKohkH TmgidsOA+ZAFrVYAsybWBNe+UWIXNxCt/IfvaA1+woaCKVhDVtwUoaDG5RG8nBEDC/6NFi /UcRtE/5sdaVFQS7rOvty/PRrTbKWJf7owBuKTmwQqhBXOjK3wWEK5pDNngSR95Lxp1ve4 +4n+JaGYeeqznqeu6VwAAK4l2b7kuG6LX2vhFf5LitZiklTb3t0XY3S7zePK6qFrRxFejd 8vpNLxhfwr65YarLwa9VtIXbn2ghqMcmS0gzm+jKHmprR6PUxtiyxeWNtXR5mg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1597440326; 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; bh=eHLqjOXRKN2Sci9A7g2BRjRAHDUcFgA4mPG8Xtywr1c=; b=jOgeDRKxs+5sBrmxRzMTV8Ya2ZyCexukUz/E++/aSFaRV+pcOCKBEPpWuklo5SFTAjLUAz ZLopeNEJfnzx07BQ== To: Jan Kiszka Cc: 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 , Nick Desaulniers , linux-kernel@vger.kernel.org Subject: [PATCH 0/2][next] update gdb scripts for lockless printk ringbuffer Date: Fri, 14 Aug 2020 23:31:23 +0206 Message-Id: <20200814212525.6118-1-john.ogness@linutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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