Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp71421pxa; Fri, 21 Aug 2020 01:12:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwenCphYQXbaHYX4f2QwOx7rF+1fBgWKKJXTauHVYrRPdtZVt0fBAaDHdsQ/dU6chnu9exQ X-Received: by 2002:a17:906:7f05:: with SMTP id d5mr1763939ejr.122.1597997529980; Fri, 21 Aug 2020 01:12:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597997529; cv=none; d=google.com; s=arc-20160816; b=W17nZA7OKiQCnh8gQz8L8sMWon+ysaeW8GeKsiLJaeY1AKrg6FSyMF8fTT4O8vkWQN Ge1oFkc6hFHMmUhMFUmUWbMsbooQrcrciHCcNcIo5uiA5iiPRsIbEHMYGyHel24AdqtH Ix3e+E6ZvAFPZdlnJ7JFGza4xsEGgug/v0EAWu0ESKTuYPP/EC5wZPH5f4dNt/eOe2b8 qD3wCcCX3l9wBEVLaWH0vylZeoWsrywMwsPrNUWdp+7ePFX4jw8bfcXKtxIEPY1SAKdz BwvGQ8GDUid2Vk7FrFOvKng6m+mO/5FQvTJxmGoC42Jq9He6XWLYlWvsjgSi1Ocz+toa 0ldw== 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; bh=DZ/uBssNsqh/sEH07vfn35jeIno4CbdUYBq8yEdSDCc=; b=I/QYnhAlGrLuG1MZkLcma1HQCrsGTgAjzMZ5NE6rrb3c+BRknEaDiqiyxfDVycv/hz M9JfnOa1Z47dd0PDBgkAeSU3kKj/57TVbOtWrCRBNbhzw+gOtUGY+U6jroPdWez53kBq YMn+u8Sw6KuwYx7pGb4+mWjQu3LcfE4pycaUpNq2qZ7w76JoO6KRu0/uiWtWYhyd2szJ G3I+rMhhcins6uvrpi2L654e8BFriQVCUuNzi5ERIdnS8B/Cv60qVHilt2UuaVVm5KFX TNlQoRp0dg87LQa6GaH6VVyNgrl6Exd+6yisppT1wXvcBJg6msdJCbvDtu3uUyGBr1n+ wKPw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u21si856988edi.200.2020.08.21.01.11.46; Fri, 21 Aug 2020 01:12:09 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727074AbgHUIIQ (ORCPT + 99 others); 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.