Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp289605rwb; Mon, 26 Sep 2022 12:23:04 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7+GyThvYOUCdnFgC9tzSQmshFaj6b7ouoTGHS71fb/udUip+156IVu+G/pAkMWGld2h6Yc X-Received: by 2002:a17:907:749:b0:782:3e85:97c4 with SMTP id xc9-20020a170907074900b007823e8597c4mr19729905ejb.446.1664220184689; Mon, 26 Sep 2022 12:23:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664220184; cv=none; d=google.com; s=arc-20160816; b=chu0SeiRwRnKOYSPZrxt45doAxVR9okLzjgbfv5RMOwRzb0tM9/AKpLf13i5UcaWvj iupJ0mopuiKKxDsCT4YHFL4YqSC9tWzyY7L8vexte9A3+9x48R65MuPpVjqLtipBafdj QxwsKT3Jjgk+MO0NlZMQigssvOeAFPnBTKlXkNnBvgmLmctICeaThozNnydJrQV/bNCv O+cj/VK9IwVVZ+hRC3D3CiXCp218KLEBWmYAx7B5yaEEC4wdCHnei5jE9PhPWwyzVuPG y/nRk62kB7X4FuRny6jJZ4q/lCR72VOecvckhEIjiUynCRLrWtBexaShXOnfikk7mqef fD0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=lm7fgbIC9ug+kLiEgQGolORm2FHzWUWmtlAmUkoIdWQ=; b=uGZr56lX1s5cBpR473gqN9q4pt7dpDSy3fDa3wvmdfj4uKH9RQtJU9otaa1UcmQDJY omxdCDchTU7fJAWaaqTNmB/AaxlSj+7kPJ42G8Tfayunh/dn7S/5a0q9D+UPjkYH6i/V 33dzVtEJwRY0zTX9tf4KryuglP1ZBN966OmAht1PdPIHZOrNwA6Tilo1f1+h9KmbDio1 9daM+TL+zgzaSIztF+ebow6VNhhEq6i8z9uFqyOKgI/oDkTIt6EcOrCEP7JZei17HowX fJ9wtbOMaETUU7FTUKBECxJ8vJ8TTflyLuxpthwDbwM8+H/nO27MXMbKna/7WIzRRH5i tbjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jb9lcMcy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b10-20020a056402084a00b00453b9f1f182si19369626edz.211.2022.09.26.12.22.12; Mon, 26 Sep 2022 12:23:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jb9lcMcy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229921AbiIZTQs (ORCPT + 99 others); Mon, 26 Sep 2022 15:16:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58660 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229571AbiIZTQq (ORCPT ); Mon, 26 Sep 2022 15:16:46 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BEB2A9A6BE; Mon, 26 Sep 2022 12:16:45 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 2F139B80D91; Mon, 26 Sep 2022 19:16:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AC39DC433D7; Mon, 26 Sep 2022 19:16:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664219802; bh=i8EKvkC0Tr2VPkNQzzRCboiKkQ7L74SHdGwxYZgB0zE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jb9lcMcyJ+upkvHXzMW8Akjnqe6cZtfhnDBXsdwLD5EMINm+uU5ljyye4rPM0Wp0i e3SCYAwkuYur/jOcGct7P6IukXaCJBeJ5CDE26ozWImL97fCfLn9k6H0E8Y7m3R9Ik bWS+JdilMfDtTRjhJvdBltLrrkX9rBHPaF3U+EzKqAJj5H+8WtBW0EPpgGlvSYESRR bRbIyPSftQ19Pjk/koyJc8E6OkxQk6L4gM6c6mmMVjGviJiKQgx1jqTMIfWHJlrsxL 0SgL6Xki0M/yOqJhcIM60aFHOB8xdyM7DUPjkwAUYn/zQixmLrjRo1BMHAW0MXYk2p Xt1lvhD1xdVCQ== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 008A5403B0; Mon, 26 Sep 2022 20:16:39 +0100 (IST) Date: Mon, 26 Sep 2022 20:16:39 +0100 From: Arnaldo Carvalho de Melo To: Leo Yan Cc: Namhyung Kim , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Adrian Hunter , linux-perf-users , linux-kernel Subject: Re: [PATCH] perf record: Fix segmentation fault in record__read_lost_samples() Message-ID: References: <20220924113346.1110909-1-leo.yan@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Url: http://acmel.wordpress.com X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Mon, Sep 26, 2022 at 10:54:43PM +0800, Leo Yan escreveu: > On Mon, Sep 26, 2022 at 01:59:29PM +0100, Arnaldo Carvalho de Melo wrote: > > [...] > > > > > Fixes: a49aa8a54e86 ("perf record: Read and inject LOST_SAMPLES events") > > > > Signed-off-by: Leo Yan > > > > > > Thanks for the fix and sorry for the inconvenience. > > > Actually I sent the same fix a few weeks ago. > > > > > > https://lore.kernel.org/r/20220909235024.278281-1-namhyung@kernel.org > > > > collecting it now, and adding that Fixes from Leo's patch, ok? > > Yeah, I think it's good to add Fixes tag. Just remind, actually > Namhyung has mentioned Fixed tag in above link: > > "I didn't add a Fixes tag as it's not sent to Linus yet. But in case you want it. > > Fixes: a49aa8a54e86 ("perf record: Read and inject LOST_SAMPLES events") > " I'll add it. Sometimes I think about combining fixes with patches in my tree that didn't made it into Linus tree yet, so that we avoid having problems with 'git bisect', but I also try not to rebase acme/perf/core. Perhaps in the future 'git bisect' will look at Fixes: tags :-) - Arnaldo