From owner-svn-src-all@freebsd.org Mon Aug 17 10:51:04 2020 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6C1523AED43; Mon, 17 Aug 2020 10:51:04 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BVW6w2JV9z4WcQ; Mon, 17 Aug 2020 10:51:04 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 325E91FC8E; Mon, 17 Aug 2020 10:51:04 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 07HAp45b079167; Mon, 17 Aug 2020 10:51:04 GMT (envelope-from 0mp@FreeBSD.org) Received: (from 0mp@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 07HAp4wK079166; Mon, 17 Aug 2020 10:51:04 GMT (envelope-from 0mp@FreeBSD.org) Message-Id: <202008171051.07HAp4wK079166@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: 0mp set sender to 0mp@FreeBSD.org using -f From: Mateusz Piotrowski <0mp@FreeBSD.org> Date: Mon, 17 Aug 2020 10:51:04 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r364297 - head/usr.sbin/pmcstat X-SVN-Group: head X-SVN-Commit-Author: 0mp X-SVN-Commit-Paths: head/usr.sbin/pmcstat X-SVN-Commit-Revision: 364297 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Aug 2020 10:51:04 -0000 Author: 0mp (doc,ports committer) Date: Mon Aug 17 10:51:03 2020 New Revision: 364297 URL: https://svnweb.freebsd.org/changeset/base/364297 Log: pmcstat.8: Improve description of -T Modified: head/usr.sbin/pmcstat/pmcstat.8 Modified: head/usr.sbin/pmcstat/pmcstat.8 ============================================================================== --- head/usr.sbin/pmcstat/pmcstat.8 Mon Aug 17 10:25:02 2020 (r364296) +++ head/usr.sbin/pmcstat/pmcstat.8 Mon Aug 17 10:51:03 2020 (r364297) @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd August 5, 2020 +.Dd August 17, 2020 .Dt PMCSTAT 8 .Os .Sh NAME @@ -224,11 +224,40 @@ Allocate a system mode sampling PMC measuring hardware specified in .Ar event-spec . .It Fl T -Use a top like mode for sampling PMCs. The following hotkeys -can be used: 'A' toggle symbol resolution, 'c+a' switch to accumulative mode, 'c+d' -switch to delta mode, 'I' toggle showing offsets into symbols, 'm' merge PMCs, 'n' -change view, 'p' show next PMC, ' ' pause, 'q' quit. calltree only: 'f' cost under -threshold is seen as a dot. +Use a +.Xr top 1 Ns -like +mode for sampling PMCs. The following hotkeys +can be used: +.Pp +.Bl -tag -compact -width "Ctrl+a" -offset 4n +.It Ic A +Toggle symbol resolution +.Sm off +.It Ic Ctrl + a +.Sm on +Switch to accumulative mode +.Sm off +.It Ic Ctrl + d +.Sm on +Switch to delta mode +.It Ic f +Represent the +.Dq f +cost under +threshold as a dot (calltree only) +.It Ic I +Toggle showing offsets into symbols +.It Ic m +Merge PMCs +.It Ic n +Change view +.It Ic p +Show next PMC +.It Ic q +Quit +.It Ic Space +Pause +.El .It Fl U Toggle capturing user-space call traces while in kernel mode. The default is for sampling PMCs to capture user-space callchain information