Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756289AbcJTFts (ORCPT ); Thu, 20 Oct 2016 01:49:48 -0400 Received: from mail-lf0-f66.google.com ([209.85.215.66]:36721 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756142AbcJTFtq (ORCPT ); Thu, 20 Oct 2016 01:49:46 -0400 Subject: Re: [patch] perf_event_open.2: PERF_RECORD_SWITCH support To: Vince Weaver References: <15d30ad2-2937-febe-d6c9-b8dded4642d8@gmail.com> Cc: mtk.manpages@gmail.com, linux-man@vger.kernel.org, linux-kernel@vger.kernel.org, Adrian Hunter , Arnaldo Carvalho de Melo , Peter Zijlstra , Ingo Molnar From: "Michael Kerrisk (man-pages)" Message-ID: Date: Thu, 20 Oct 2016 07:49:40 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1090 Lines: 42 On 10/19/2016 05:14 PM, Vince Weaver wrote: > On Wed, 19 Oct 2016, Michael Kerrisk (man-pages) wrote: > >>> diff --git a/man2/perf_event_open.2 b/man2/perf_event_open.2 >>> index 68b99bb..04a0cf5 100644 >>> +.B PERF_RECORD_SWITCH_CPU_WIDE >>> +records when sampling in cpu-wide mode. >>> +This functionality is in addition to existing tracepoint and >>> +software events for measuring context switches. >>> +The advantage of this method is that it will give full >> >> s/give full/give a full/ >> >> ok? >> >>> +information event with strict >>> +.I perf_event_paranoid >>> +settings. > > What I meant to say was > > "it will give full information *even* with strict perf_event_paranoid > settings" > > Maybe saying something like "despite strict settings" would be better > wording. > > not sure how I missed that typo, apparently my fingers are used to typing > "event" too much. Thanks, Vince. Fixed now. Cheers, Michael -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/