From mboxrd@z Thu Jan 1 00:00:00 1970 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 D20B41428F0; Thu, 13 Jun 2024 12:36:57 +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=1718282217; cv=none; b=PxlDKOhKkALMhJFvGCiVdVb68klKX/X0dzkntm1EFsznjRRkJ161sXXRmRTan4w5P8O2BCov9gCAh8BXGagY9MAKcDVsxw5+H9R8InQE2cL5DeJQewnQXz3c7I3u16X60W2Xs4U4X/K4aPcCz8AdVHQUkWJLa8tWyU0SLOtff0U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718282217; c=relaxed/simple; bh=F8z4WwK9iP1Z6ZG48/U/iI7OAZN5O6Zynvd7OVFjSOE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=UzTAz08Uz9luc25epky5hRzXUDm+bp0FFJQuhoC1i/dgpZHJHe1/zsvSNDWi1JvAiDC39ABKvy1I+00mxOMC1aujHPKb0pOIzy9g5a1TvfI1xnoz8+caOa0FutQl0VxSbcbaq41bbNlbUQpeM7VSrIvPzF4P3fP5WJkNjIWkQK0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=PhiI3qxG; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="PhiI3qxG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CC693C2BBFC; Thu, 13 Jun 2024 12:36:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718282217; bh=F8z4WwK9iP1Z6ZG48/U/iI7OAZN5O6Zynvd7OVFjSOE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PhiI3qxGVjT1xPc+2boqL2fa5zuWAjnn00RMeAiRUXTsWbKmLQioF1GhYmv7KmWLv niJbIrRz+pF8TC98+nIMT3giDmrKy9LgtpWtiO+glaIhHo5JT/ecbO+6F3EKnEsXEi OZ/tAfARk4u5ATjo3dxIUfNkMNPSaiweDQ/axvpI= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Ian Rogers , Adrian Hunter , Alexander Shishkin , Athira Rajeev , Ingo Molnar , Jiri Olsa , Kan Liang , Mark Rutland , Namhyung Kim , Peter Zijlstra , Ravi Bangoria , Song Liu , Thomas Richter , Arnaldo Carvalho de Melo , Sasha Levin Subject: [PATCH 5.15 202/402] perf docs: Document bpf event modifier Date: Thu, 13 Jun 2024 13:32:39 +0200 Message-ID: <20240613113310.022900431@linuxfoundation.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240613113302.116811394@linuxfoundation.org> References: <20240613113302.116811394@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 5.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: Ian Rogers [ Upstream commit eb4d27cf9aef3e6c9bcaf8fa1a1cadc2433d847b ] Document that 'b' is used as a modifier to make an event use a BPF counter. Fixes: 01bd8efcec444468 ("perf stat: Introduce ':b' modifier") Signed-off-by: Ian Rogers Cc: Adrian Hunter Cc: Alexander Shishkin Cc: Athira Rajeev Cc: Ingo Molnar Cc: Jiri Olsa Cc: Kan Liang Cc: Mark Rutland Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Ravi Bangoria Cc: Song Liu Cc: Thomas Richter Link: https://lore.kernel.org/r/20240416170014.985191-1-irogers@google.com Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Sasha Levin --- tools/perf/Documentation/perf-list.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/Documentation/perf-list.txt b/tools/perf/Documentation/perf-list.txt index 4c7db1da8fccc..a4881d32b318a 100644 --- a/tools/perf/Documentation/perf-list.txt +++ b/tools/perf/Documentation/perf-list.txt @@ -59,6 +59,7 @@ counted. The following modifiers exist: D - pin the event to the PMU W - group is weak and will fallback to non-group if not schedulable, e - group or event are exclusive and do not share the PMU + b - use BPF aggregration (see perf stat --bpf-counters) The 'p' modifier can be used for specifying how precise the instruction address should be. The 'p' modifier can be specified multiple times: -- 2.43.0