Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp1195116rdb; Fri, 19 Jan 2024 11:01:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IHLwaAIT6UyGBxF3MPsOOjQrYx0T22XU3xk1WjX/Y3H0fe7kYWMXLCneAiSm8DLHOAeFKV/ X-Received: by 2002:a17:906:dc6:b0:a2e:9f3c:45bb with SMTP id p6-20020a1709060dc600b00a2e9f3c45bbmr111134eji.61.1705690879934; Fri, 19 Jan 2024 11:01:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705690879; cv=pass; d=google.com; s=arc-20160816; b=tN9jKv+4SBlB5mCgGOTZW6Kt/XeL74dfLrTFdFNghTs+hT650CFbsHc/XHx9cSmjsV ocEq1y9fGjihTuMN0yN1WpyJNnxoVMkIY6wOEX0tzygEB3lnJAvrX5rnEOc0+2pS+vkC YPZJ8E9di4wxk590CMKbDLg7WjoYtZDUwSauVgv99GDTHVG6cH/Tu2j4EwhpLgwwSLtc 5jeU0UT6o0LNQm7V+IH7/Qh03I8jXQG13Dgk9EY5NMnEi5BecZmIGwEkYJvvkjOIPpFJ NPl84216KenCVG6ZHackrYOhD9+nbHxM3BYyr+JTksJwL6saZQCFD34k+64JYYgZ198Y Z/pg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:message-id:date:references:in-reply-to:subject:cc:to :from:dkim-signature; bh=roJz8cQiCMKZN0k/J3acSobAmEg9qIIFfXdAG961ChE=; fh=yeXybAEBohBXXHfIvrE84ADxrodU8ga9bumAydVA1X8=; b=yGIZmdTCynnGOcJTgpzQwyyTh0ENTvLvlhnr/yB7rgoyk2kXgPAiC0iBrQ0EfdAnC9 dK1XNM5lrXUJkJMMeb+L4M6lmawJnfk9HTBL1+Qj2Z6RLf8sh4n3o22ly4Zu4qTdiQEP 0546vqRF427LAfqK5qNyuJQWs5JYzO5lTrTOtQD0XxMjDrPiljtV5EZA0bJNzgxe6Qty 2AAy9dFN/cH3+CbIwe6BLmjNxYhQLhOocAgOYOYpsW16628zTK0VYA/T4Ez7n+vpXDZ5 5wV4fG9ImIgYsNJPLQ2sGMzwNL/KQDZckN08w7sKyuI2hcgy4FacPBfytSnXGT4X0i/u 69NQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=OgpYOQSU; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-31435-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-31435-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id x2-20020a170906134200b00a2f9521c1d4si482009ejb.548.2024.01.19.11.01.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jan 2024 11:01:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-31435-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=OgpYOQSU; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-31435-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-31435-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id EA1041F258E6 for ; Fri, 19 Jan 2024 17:45:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1AA4555E76; Fri, 19 Jan 2024 17:45:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="OgpYOQSU" Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) (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 A270F55C05; Fri, 19 Jan 2024 17:45:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.55.52.88 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705686347; cv=none; b=Hhv2TQUl1U1kZHPpOWnf9+wYGDJJGcvzFUpcecbfntYgVcSdxKukvfFWpI+W6T1LjHozYrOjIRULlM6cYNM7hvpNOr+RxiMtMbQFb1iaQkrw+3yuu+wmBEhfGJJ5rGYHs3l7em2PArLlDOaJTVNo6ojgpXvkTKrNovm9IXnAQlg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705686347; c=relaxed/simple; bh=uCvIEcJYYf5AbGoFG22DmOZZXGKEe8WB1ncLOJnDZs8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=VI5IKVhQsN1Eokp+3/DvPYWA1UUMapSHXAPglpsKMc365l/F6lM3BNMsuP97YcllCzpsjk8bMdtIbU8rwZ9ZEBtNXgYx3YK6pYx1NO8rDlRvsheNrCTFSQfmN3iW5F6TXC6kQwH0IpDRAeTByLYBuF1hjeVzptoLeQAqnpUSQU8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=OgpYOQSU; arc=none smtp.client-ip=192.55.52.88 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1705686345; x=1737222345; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version; bh=uCvIEcJYYf5AbGoFG22DmOZZXGKEe8WB1ncLOJnDZs8=; b=OgpYOQSUwAWCFxwegSueH5G21LHVZhGQuPbKVV1YHWawLZ7oj5VB2ArO k71icSrF+nWsDKLQIHzM47KvytgRPdrb9FLjpAPr80aGLXo1jAkP5khWh K8Vm/PMrz/n87HeT66WLHA5SVL+rBykCl+4QUZUSzy8fGJ3XL6s0uyevP nE29kojJKRZI5b5aBXcbhy6cMgigDe7NQRpzE5FF+Kb1qEmTdeHV7iuph ZJ/iC43bHgRi/F5QFVZpehmBXvt3TA5RlcGiRoOE+0zUW3wa5V3Tf3L61 9DG8vULwl3MJYs6HwmPSE4JW9pJSlaeB6kKVNoptNLT+xJ0jXwuGjnhGE Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10957"; a="431969498" X-IronPort-AV: E=Sophos;i="6.05,204,1701158400"; d="scan'208";a="431969498" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jan 2024 09:45:44 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10957"; a="908371323" X-IronPort-AV: E=Sophos;i="6.05,204,1701158400"; d="scan'208";a="908371323" Received: from tassilo.jf.intel.com (HELO tassilo.localdomain) ([10.54.38.190]) by orsmga004.jf.intel.com with ESMTP; 19 Jan 2024 09:45:44 -0800 Received: by tassilo.localdomain (Postfix, from userid 1000) id 2C089302B79; Fri, 19 Jan 2024 09:45:44 -0800 (PST) From: Andi Kleen To: Ben Gainey Cc: linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, peterz@infradead.org, mingo@redhat.com, acme@kernel.org, mark.rutland@arm.com, alexander.shishkin@linux.intel.com, jolsa@kernel.org, namhyung@kernel.org, irogers@google.com, adrian.hunter@intel.com, james.clark@arm.com Subject: Re: [PATCH 0/1] Support PERF_SAMPLE_READ with inherit_stat In-Reply-To: <20240119163924.2801678-1-ben.gainey@arm.com> (Ben Gainey's message of "Fri, 19 Jan 2024 16:39:23 +0000") References: <20240119163924.2801678-1-ben.gainey@arm.com> Date: Fri, 19 Jan 2024 09:45:44 -0800 Message-ID: <87a5p1kyif.fsf@linux.intel.com> User-Agent: Gnus/5.13 (Gnus v5.13) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Ben Gainey writes: > In this configuration stream ids (such as may appear in the read_format > field of a PERF_RECORD_SAMPLE) are no longer globally unique, rather > the pair of (stream id, tid) uniquely identify each event. Tools that > rely on this, for example to calculate a delta between samples, would > need updating to take this into account. Previously valid event > configurations (system-wide, no-inherit and so on) where each stream id > is the identifier are unaffected. So is this an ABI break? It might need an optin, if it breaks anything, which wouldn't surprise me. We do have a lot of different perf stream parsers around these days and we cannot break them. -Andi