From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 494CAC433DF for ; Fri, 21 Aug 2020 08:08:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 21E762078D for ; Fri, 21 Aug 2020 08:08:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728006AbgHUIIQ (ORCPT ); Fri, 21 Aug 2020 04:08:16 -0400 Received: from mx2.suse.de ([195.135.220.15]:36158 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726243AbgHUIIQ (ORCPT ); Fri, 21 Aug 2020 04:08:16 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id DB78BAEEF; Fri, 21 Aug 2020 08:08:42 +0000 (UTC) Date: Fri, 21 Aug 2020 10:08:14 +0200 From: Petr Mladek To: John Ogness Cc: Jan Kiszka , Andrew Morton , Baoquan He , Dave Young , Vivek Goyal , Jonathan Corbet , Kieran Bingham , Sergey Senozhatsky , Sergey Senozhatsky , Steven Rostedt , Linus Torvalds , Greg Kroah-Hartman , Nick Desaulniers , linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2][next] update gdb scripts for lockless printk ringbuffer Message-ID: <20200821080813.GM4353@alley> References: <20200814212525.6118-1-john.ogness@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200814212525.6118-1-john.ogness@linutronix.de> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri 2020-08-14 23:31:23, 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 I am not fluent in the gdb macros and python so I did not try any deep review. But both patches work for me: Tested-by: Petr Mladek I am going to give it few more days before pushing just in case there is another feedback. Best Regards, Petr BTW: Are you aware of https://github.com/crash-python/crash-python project? The ambition is to implement "crash" features and even more into gdb using python extensions. It similar approach like scripts/gdb/ crash-python is being developed sporadically in waves. It is mostly during a week that is dedicated for such projects at SUSE. It would be great to get more contributors.