Received: by 2002:a05:7412:8d09:b0:fa:4c10:6cad with SMTP id bj9csp377614rdb; Tue, 16 Jan 2024 03:15:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IHTcz/gZ2TfS6EzEETYK6sAGnQl5S2He+9/0pg960NMGuEXWGaH6vFogZA1f2z2hn9anMDJ X-Received: by 2002:a17:906:c28a:b0:a2e:6f5f:89cd with SMTP id r10-20020a170906c28a00b00a2e6f5f89cdmr401650ejz.119.1705403725443; Tue, 16 Jan 2024 03:15:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705403725; cv=none; d=google.com; s=arc-20160816; b=SFlHWZ/jI29LatuFbC3pA1n0wGU9osHd9csIgdvvqTzKpugx6h5T2/BKLSh458zaTi myBlrsu1ROxDXuEbPu8pvsOsut5EN2384i7W31KJ5V8mWDO/haCrrTee2++877Yn2r0B ELR5xxJXgFWwI3Vh5B8i0wwEGcQ2vxlT+xLKeMuOrKKm6KtINqRMmyXFsdSj7O3DDWmJ mC2cEU5+/bSkYbfds5eh+xbVduJJ2IltYgz9q8PMq/WFHnyuNAhlnAIxD/JOeU9P3eu5 QjdTtvXmYLfEp2tNBVlH4eqmbDjp1Rl6014Q6Q2SHg/68QMv49V8/MGdQq73zTvN7s/5 IqgA== ARC-Message-Signature: i=1; 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=KGj83XYIkXNIHgAxpE7C2tWJ2jS/Hwvrh3NCtwWmTmE=; fh=w5gECHX23f/eBfe+vbwUtTdLI6Zu26JyfZrg4IxRFuY=; b=HLDAl7ovYWRGBbe4lx+eGTXHdzIhbzU+9FID1BOWbWuQOod5+ot40ttH2cw+KFb7c+ BL7jPTzZV4Ipi4sc1un2zlrbnAOewjF+yF0Vb5XviHMeGMht2hfrTTQrq7/pHu+zIdnZ C3NUNy+pid0VIXm3jWCYJ6qJf+lfATdGETWqn+04wtdYbLL8j63g7KIuE2l4eACMCXZp eTOrGwEsjC+4ivhHket40hFHN2alpBOA09no/KUhflzuJ5nopdJnuF37Ib0742uefFKk jUH2ekFw9eNLJr39Ci5n/kseRbjIsWf2W+qs/9+PWr/21fAwfV+cK7L1lwlvzV7QHzF7 C2Sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="NNWWAf/T"; spf=pass (google.com: domain of linux-kernel+bounces-27299-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27299-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. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id z18-20020a1709063ad200b00a2a2b0857e8si4626966ejd.711.2024.01.16.03.15.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 03:15:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-27299-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="NNWWAf/T"; spf=pass (google.com: domain of linux-kernel+bounces-27299-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27299-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 27AF91F245BD for ; Tue, 16 Jan 2024 11:15:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 00E641B7FA; Tue, 16 Jan 2024 11:15:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="NNWWAf/T" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.10]) (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 AD0991B7ED; Tue, 16 Jan 2024 11:15:16 +0000 (UTC) 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=1705403716; x=1736939716; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version; bh=KGj83XYIkXNIHgAxpE7C2tWJ2jS/Hwvrh3NCtwWmTmE=; b=NNWWAf/TaCm1MF71uSKFnneZgyBVD3sLebhrmg99BpYLeefTOIKp31jD cVJ7NtnOMHu+PRk7XfDnEWKrHqkQrk8DYhFlEAEggQK3Co2zURM3NkhCJ R8+Tbojx92/Io7yIvHAW0KZva5+9p2o9IwS5k4FH2AjRuV3gOdBFXxNcz tjMQpMS1rsI4Jy7BDmZe2gIQF7jkOJUgkHpdKEmEgRnv+g+EBdgByniz0 gndPMmH7XRCH7jeyfTL/WjFP6eLfc+sOGuhc9NScVPXlnV39L9qvKZjT2 PPoLjwfs60UFfKEHSe8VeJ7jFpgA9Gpc/u9lxgP7l7ERcfrvJQoydP5gV Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10954"; a="7214109" X-IronPort-AV: E=Sophos;i="6.04,198,1695711600"; d="scan'208";a="7214109" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jan 2024 03:15:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.04,198,1695711600"; d="scan'208";a="32419003" Received: from tassilo.jf.intel.com (HELO tassilo.localdomain) ([10.54.38.190]) by orviesa001.jf.intel.com with ESMTP; 16 Jan 2024 03:15:15 -0800 Received: by tassilo.localdomain (Postfix, from userid 1000) id C1371301BD1; Tue, 16 Jan 2024 03:15:14 -0800 (PST) From: Andi Kleen To: Adrian Hunter Cc: Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Heiko Carstens , Thomas Richter , Hendrik Brueckner , Suzuki K Poulose , Mike Leach , James Clark , coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, Yicong Yang , Jonathan Cameron , Will Deacon , Arnaldo Carvalho de Melo , Jiri Olsa , Namhyung Kim , Ian Rogers , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org Subject: Re: [PATCH V4 10/11] perf intel-pt: Add documentation for pause / resume In-Reply-To: <20240111081914.3123-11-adrian.hunter@intel.com> (Adrian Hunter's message of "Thu, 11 Jan 2024 10:19:13 +0200") References: <20240111081914.3123-1-adrian.hunter@intel.com> <20240111081914.3123-11-adrian.hunter@intel.com> Date: Tue, 16 Jan 2024 03:15:14 -0800 Message-ID: <87ply1lebh.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 Adrian Hunter writes: > + > +For example, to trace only the uname system call (sys_newuname) when running the > +command line utility uname: > + > + $ perf record --kcore -e > intel_pt/aux-action=start-paused/k,syscalls:sys_enter_newuname/aux-action=resume/,syscalls:sys_exit_newuname/aux-action=pause/ > uname It's unclear if the syntax works for hardware break points, kprobes, uprobes too? That would be most useful. If it works would be good to add examples for it. -Andi