Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp84160rdb; Mon, 22 Jan 2024 12:42:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IFV23aYZKDfveXZrNqmF2T6wcTz0w3JjcHC3+KK/xP4UnMXKnfq/aKaXF/XkPgIKopHg4AT X-Received: by 2002:a05:6a00:23ca:b0:6db:d986:5c1a with SMTP id g10-20020a056a0023ca00b006dbd9865c1amr1644015pfc.25.1705956177687; Mon, 22 Jan 2024 12:42:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705956177; cv=pass; d=google.com; s=arc-20160816; b=LMj0qVP5HBzxyrSkrnu4m2Cdy9b1s9bGSbx0zejea/PUzinY1IxO4gFOd+56f9ycwu apOnx1aTcClI6QpWuv5dHiXgzAWxv19ZagYnngk2oAZ3PnbQPuysZELEZ8hfTJndmhdG 5j8TaETsouQCPAWf/NXd3FWe8/onaP+t6MnRIK3OERutjzWiDFxPmLE8cMFimOCscCcC mCDlXWeEg1xELJEG8T+MThr1KerosU2YUhAjIqP1g80duUu7cVURVNhHq3kKWtbYaHmq 9jcowqkEJDFW+Ya1L21AFq5qDA7k5EJ4IHBktupmiD1OwFLkqVVhj9DlYArM16S6pF1c f1Lw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:to:from:dkim-signature; bh=Htt2ZA+6QcS8DEbOmTKZA8Pgnu5nZDK/yfY4Mo0np9M=; fh=HbsCxW0ipUgtZdL9/EwEU+yeKgs4Ez10DNZhOqSg1mE=; b=DFuKh2AmGCTd5VggFl/LpA/C2434Dyr1ZuMrYukapNbvpjbPoWviK+mfMKFZxepYVA +bGCT6wDihMHB25Ihtau2fl//h+QpPOQiD2mHWmMF/qeJhssNL2RtQz3HqdedjtHYgDl olu6fX3lHPpGMGnZHpPfXPyDjfbNWaBoLTbo0vyWYPjsHHgqJm13kU/XZ7ZjUYCRpyxg Zu6YZMGICsosUVJ8HYZAFSniDnY/o1+A33q8X68pHGeRnLJ+hnl+HaVI2Ehgwbv7JmiN GC7njvqyd21KgiBJcEU91vDAQN8FVzMWJI8yqYSSN9i19mAD4V0u6OyW2AGFftIMxqBu ud4g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=p5+LMjx8; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-34125-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34125-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id c35-20020a630d23000000b005ce01a07040si8595246pgl.504.2024.01.22.12.42.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 12:42:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-34125-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=p5+LMjx8; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-34125-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34125-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id C2DAA28E856 for ; Mon, 22 Jan 2024 20:39:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A0DA94778B; Mon, 22 Jan 2024 20:39:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="p5+LMjx8" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C8CBF27715; Mon, 22 Jan 2024 20:38:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705955939; cv=none; b=qeG6LmZi37Uwy3hC19Zy0TIDciGM7s+wuZKGdurMI/EiHHbD4oY6LemmRU3Q//6Y7CZ7nAJjkwboGqz6X1pIApI8vOMsnlecWnMvlewlGDMFwfMnjFP2lga0SVaNyo/q6RZmKWCWxh5qn2p7xJNmPjXlOIttirr04dNIG54C3jQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705955939; c=relaxed/simple; bh=FQ+sdLeplOxrn9/DH/O38WJnft5mXMsR0iIQhToqjik=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=hh5jfQ4V8+EcGVh7nNFrO3liBSoQarGldGEn75FqxETTzHm8CtctUIqN8voASX9Ovac+4caHQMBBEvAlRTFq6fg0Dt02lgdQZigmbfjWQpb7wCl3ML+V5fERA/inbuPp051KKeBTDyUrJ5dW3G99gpnQ51rt2h60CFV3p/IO5Io= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=p5+LMjx8; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 16913C433F1; Mon, 22 Jan 2024 20:38:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705955939; bh=FQ+sdLeplOxrn9/DH/O38WJnft5mXMsR0iIQhToqjik=; h=From:To:Subject:Date:In-Reply-To:References:From; b=p5+LMjx8gxQTPrhDNhZXB+kJfLaXoNhEnT4Q4zpohFX0wdAHZppVHhFXmf6A/PJjy ZWdZDrtZcQGM1bnNxyYwlpOWvoo6JCrREYhCWWH4LTk//1mpe3I8RiJ4aQTzW1HkBR 7cebAFx1l8p7Yzsn8vHa9S/H9QVu3WKm+RDNuE4k+cuLA3Yv5Odt5Z8D9/pUmLEx1A YTmg8VbFydtvYOtck1/nsU/7xVylr9Ha8Yrpyu49qFZGwSg9uKNrI3YfcR6wL8y02v DwqM3jX3equmLvLklrJv987cQiO+A6nRFyGo4Jy6Z2ggozJJbH1dD3KjM2dHGSwPxF g2d1XEoCbkbEg== From: Namhyung Kim To: peterz@infradead.org, mingo@redhat.com, linux-kernel@vger.kernel.org, mark.rutland@arm.com, linux-perf-users@vger.kernel.org, irogers@google.com, alexander.shishkin@linux.intel.com, jolsa@kernel.org, Yang Jihong , adrian.hunter@intel.com, acme@kernel.org Subject: Re: [PATCH 0/3] perf record: Fix segfault with '--timestamp-filename' option and pipe mode Date: Mon, 22 Jan 2024 12:38:56 -0800 Message-ID: <170595558520.377262.4040178885633671225.b4-ty@kernel.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog In-Reply-To: <20240119040304.3708522-1-yangjihong1@huawei.com> References: <20240119040304.3708522-1-yangjihong1@huawei.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit On Fri, 19 Jan 2024 04:03:01 +0000, Yang Jihong wrote: > When perf record uses '--timestamp-filename' option and pipe mode, > will occur segfault: > > # perf record --timestamp-filename -o- true 1>/dev/null > [ perf record: Woken up 1 times to write data ] > [ perf record: Dump -.2024011813361681 ] > perf: Segmentation fault > Segmentation fault (core dumped) > > [...] Applied to perf-tools-next, thanks! Namhyung