From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-yb1-f201.google.com (mail-yb1-f201.google.com [209.85.219.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 168D742055 for ; Tue, 16 Apr 2024 17:00:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713286834; cv=none; b=ByXPukpF0iVuwiDm9iYLz3MBU59aGHVmbh1EPIuJvl2w4wYf7/dw2XG/e1vICP6HjgpB6DiEjxCPW2MLAtOM/OtjSI5360DeeET11fXNQdRXemoNsCEk1l6at8wPm+262EvztfC3Rwgnncz9o4MF9D6i6hHnERM035oIHBt4xQ0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713286834; c=relaxed/simple; bh=eWS4hkOA9c5MUyVViK475t1qOR4HpPha6Nk9Zap1JUk=; h=Date:Message-Id:Mime-Version:Subject:From:To:Content-Type; b=QQ1CvTDolNIuNSYNFXxWZ8UYgHoNc1N7ps9aHMhrCQmBfIYBuzvkCcf6q69/J4CRlH/XSF4031r4xpjyM3yqv8ae8zPdrI2ChjpkH3MPa84CP/A5PH0vVeVwnpbB2TkamdvdE5XIkNUuV9HHqxIPAZKBBcG9GeOiE3i4/7NAttk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--irogers.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=oiKTdV94; arc=none smtp.client-ip=209.85.219.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--irogers.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="oiKTdV94" Received: by mail-yb1-f201.google.com with SMTP id 3f1490d57ef6-dbe9e13775aso8067991276.1 for ; Tue, 16 Apr 2024 10:00:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1713286832; x=1713891632; darn=vger.kernel.org; h=to:from:subject:mime-version:message-id:date:from:to:cc:subject :date:message-id:reply-to; bh=VHZ+4taa5ZmMf/oaE74yETbEavJXLOGjMfJKJZgW7D8=; b=oiKTdV94ypRqlClyB5jW9fNE0/2SdIhV1hIsbvIxY4/CpRtN/CdmX2YP43Y5fjeQDh PLA52JwZt5oOyAl6PIwj6vxhXp7+hKCe+yBKPgTv7hvZ68kA9dtgoeEQRJxPzVbtJgNV sAtFf2ONwIHnGAWaDcxgPvDW7ngvBMO8ORhcBQReZ7SXyH5gFwM5EWGggytRPXz/J3Fy 7Ht3EX7uH3x2aKqmumm2yrQ4P/T5+Y+3iFfVxKDIyTNHb8+VrxtH4nv8bQSaDwVPpVWP Rh6dv/w0rXaNV0R1meo+anAGBBcc8OkjRRnNVMHULGgFlVu40DoK2mvrq7bIpd4VNkWL euKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713286832; x=1713891632; h=to:from:subject:mime-version:message-id:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=VHZ+4taa5ZmMf/oaE74yETbEavJXLOGjMfJKJZgW7D8=; b=sXFjTruC4/7goPIeB02bj0gCJ3HoOfL6/TQ2OS0+Aqvd+HOhyN/7weY6s3a8T0Pgqg Om3B3qoew8jDO/V2G1qTX/pBmc/NcX77pLGyj0kLUTks5r6fhoThn1fxagex5yMJZfwu UXgpMIIuYJMoS1i/xtMdcItg9uQQ23/+hMxSdpv3n4dpACLGWPDxj2aKjKgQGGpM5t87 IahpwfQF/anc9f9E2YsBnXae33JL/cMcVUJlwVOkdS6dISLJmm2QGWC3EZk1+I/j92Hn aEi7wavJKZIl+JMtyVBiwK7PNjkx5J96Qox7q8efDCxRggwZC2TNm5VZawuzjOXhzRKV 428Q== X-Forwarded-Encrypted: i=1; AJvYcCXmRrU14GrSMVPdywc5V9rjegkIThX8oXBRb51suJe27sMAzvZCs5FsSgLU+I/iZHkWp37xWazbWsfKl/ftKQD56J0GSPyVwWiFUDII3Fo2ww== X-Gm-Message-State: AOJu0YzxNBiaDUyn7ZmEDeWE65v9nxttdFnULwQW9y485JFlPF7FOs3J 4rRVdhqPYHcH5DU+uMrNqyiCBSZUIe1SWbeBupnJs7xA4ne4YGOtgVx3LWGaY5NPYAQTqCn3nbB LcJE7pg== X-Google-Smtp-Source: AGHT+IHpba/rJhzl9JMKIitpVKqKH62dhmqQWuSYivFdu9/ee66XNw1Ii34iQvnlkzNQhtlYgsX0ePwTqV64 X-Received: from irogers.svl.corp.google.com ([2620:15c:2a3:200:30c8:f541:acad:b4f7]) (user=irogers job=sendgmr) by 2002:a05:6902:120e:b0:dcd:88e9:e508 with SMTP id s14-20020a056902120e00b00dcd88e9e508mr4322514ybu.5.1713286832038; Tue, 16 Apr 2024 10:00:32 -0700 (PDT) Date: Tue, 16 Apr 2024 10:00:13 -0700 Message-Id: <20240416170014.985191-1-irogers@google.com> Precedence: bulk X-Mailing-List: linux-perf-users@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 X-Mailer: git-send-email 2.44.0.683.g7961c838ac-goog Subject: [PATCH v1 1/2] perf docs: Document bpf event modifier From: Ian Rogers To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Mark Rutland , Alexander Shishkin , Jiri Olsa , Ian Rogers , Adrian Hunter , Kan Liang , Ravi Bangoria , Athira Rajeev , Song Liu , Thomas Richter , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Document that 'b' is used as a modifier to make an event use a BPF counter. Fixes: 01bd8efcec44 ("perf stat: Introduce ':b' modifier") Signed-off-by: Ian Rogers --- 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 3b12595193c9..6bf2468f59d3 100644 --- a/tools/perf/Documentation/perf-list.txt +++ b/tools/perf/Documentation/perf-list.txt @@ -71,6 +71,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.44.0.683.g7961c838ac-goog