Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2728990rdb; Mon, 5 Feb 2024 16:19:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IEMHtsA/FubnAHZdQJdaHk4UKNa+ldI4h2NBrWXUt2EdztED3Ubi0f04XhTVnd7HMgAhCiL X-Received: by 2002:a05:6a20:8e23:b0:19c:b4f1:596f with SMTP id y35-20020a056a208e2300b0019cb4f1596fmr118057pzj.22.1707178792684; Mon, 05 Feb 2024 16:19:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707178792; cv=pass; d=google.com; s=arc-20160816; b=CUQkJLJAuml3Odu3smAi4Ttm569Uy/gyZK2kijBst4DMtgp0/nHcFQY09tCjyNIamp jDtqw0BsNhZRhR/diysntmS6+ACQJDCItE/cbFrt4YDu9HiwUIurAoTOTmf8tWgHxbyB LLL/CBaAH9dKsysLnFP8vOPAzLr/H/IEnYPkb99cRuoW6tZBFx9DA9Bh0cyLKzCHBzSC dQj+iLVPKp7yUa5adg4S9lkSZ3+nI6Mo6ZVguKTWdlsN5vsBudQ91cM+6qs2gCj5ruvi YVzNGtaXoJ9tKAQIsFvTwK4RD7S3xqRclXXbIjWe70UGlzvgxLiQXUIGPPQ2CtcN1bE6 ZXww== 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:cc:to:from:dkim-signature; bh=EG+sGaGcPZRf82dVfsOcwn4MhBubbFcaCPIvJWRXGlY=; fh=MjvU3emyjUoMX4na4Z8vAAdFGj4k5XGfBen4tph4fnE=; b=KGi4Umhj9yV5dBdVYKbSJbh0s51a/Z4YMS7bdDjN5QWAnl5vMO4/rzviWPKGm9XycU i2CLtTDuf/mSQDGYSWKaR+yZ4Tst4khzOkPjilGrv/D9rjwC4fNLfNWKyv1YsSJK9YsH 91z2I09tuDJvflOm26CqwkJ993gAte6y+hrQip74HpFT6pQc1FTh/1uwy3lUdcaF08TS D2aFM9gaKkE4QXln3YBt/5ffAPxaINygqtre+q5q7SUTWNrzjduWsuKrYamN9BS056g6 pXbCJtp/SZc5Te0RsPRWOpE63iNySdxrybLodSehGa8ZHaPOo1/fdC62RmdwzfaThlz7 mfag==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pZj3wRvl; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-54125-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54125-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCXiNrsar/62oVcKMxNxpY0l1DNB6IDiKlBoin4otjnQo48eCa8En5kia+HgttVrj1rkXJl+y0elbbEWvNJayjXs9CZRfodlG+FJfu9g1g== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id fb25-20020a056a002d9900b006dddedb26f8si598284pfb.240.2024.02.05.16.19.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 16:19:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-54125-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pZj3wRvl; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-54125-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54125-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 57472282E14 for ; Tue, 6 Feb 2024 00:19:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9A7D7802; Tue, 6 Feb 2024 00:19:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="pZj3wRvl" 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 B1A1F3FE4; Tue, 6 Feb 2024 00:19:43 +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=1707178783; cv=none; b=D9YZHbnfCALGRsrqATeoTSxILg8W0qQpstOozjZkjNcRffIxXIYk6Yii8ePdjiF5w8IWynZHcflSSyMudMweiNYYXQtoUNIF+n0e5u+7oaWiddojHUuqErQpWU8J3F7YXVEfEJf+dvjsr4AxKZj3Qdf0w4Tlkq7hoDbfi1kpuaA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707178783; c=relaxed/simple; bh=s+JNYYoa/aWZY28sbi5PW8y/reMlR60lqXxnm7UTLXk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=kwuL81EUa22ASg/bLfb60WsuEDKCsu1xlzti5xHG0jAXnmb23BfSBCG/9cjyosdhDKIdUQX9Zlyq73K2t04jKCbm8jhCoHdTzoRaI3EEMhsq6Aq5tAvA2Qx0R24X8KBCN0kR4PsOCEBE7kG6Lkoq3lUZUjSDfN6kKWfDHKgwe2Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=pZj3wRvl; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id EE966C433F1; Tue, 6 Feb 2024 00:19:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707178783; bh=s+JNYYoa/aWZY28sbi5PW8y/reMlR60lqXxnm7UTLXk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pZj3wRvlUT9c54nEafsfJYHDK0xPTOGUpoXrwfggnIV9MmWY0qRs6pEovQGyediXY LSLD/5yieSqosM6U5LR0lct798Z4cu4DckvpMJ2G4H3bHXFluJ+y8yQcchpGShU+Zz atOoK5A8urutWa1duho8H2H+4/576uAvcu0nnzvW+gLC8lxhmS64A+TeEy54jPAdIQ 2zhefxB5EXveCOgpKYWxvxFGo2RVzkEqhQxquyV7/1VARKzaUWIoXwwXYSh3XK5RD0 5EYNRpTDWSJJveVufGUFkued6Ez5PnOr9E4nzQ01Cq9AD3TmTfpkHvWwGRZZrVjws0 U0NT9/k4wm4mg== From: Namhyung Kim To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Ben Gainey Cc: adrian.hunter@intel.com, mingo@redhat.com, acme@kernel.org, irogers@google.com, will@kernel.org, mark.rutland@arm.com, peterz@infradead.org, jolsa@kernel.org, alexander.shishkin@linux.intel.com Subject: Re: [PATCH 0/1] tools: perf: Expose sample ID / stream ID to python scripts Date: Mon, 5 Feb 2024 16:19:40 -0800 Message-ID: <170717858575.1700937.1642994669335608980.b4-ty@kernel.org> X-Mailer: git-send-email 2.43.0.594.gd9cf4e227d-goog In-Reply-To: <20240123103137.1890779-1-ben.gainey@arm.com> References: <20240123103137.1890779-1-ben.gainey@arm.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 Tue, 23 Jan 2024 10:31:36 +0000, Ben Gainey wrote: > This patch modifies the perf python scripting engine so that the ID and > STREAM_ID are exposed as part of the sample so that they may be > correlated to the corresponding throttle/unthrottle event (for example). > > NB: For scripts where perf_db_export_mode = True, this may be a breaking > change depending on how the script is constructed. Each field is passed > to `sample_table` as an argument so any script that is written as: > > [...] Applied to perf-tools-next, thanks! Best regards, -- Namhyung Kim