lkml.org 
[lkml]   [2020]   [Dec]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v6 4/4] perf-stat: add documentation for -b option
Date


> On Dec 28, 2020, at 11:24 PM, Namhyung Kim <namhyung@kernel.org> wrote:
>
> On Tue, Dec 29, 2020 at 2:41 AM Song Liu <songliubraving@fb.com> wrote:
>>
>> Add documentation to perf-stat -b option, which stats event for BPF
>> programs.
>>
>> Signed-off-by: Song Liu <songliubraving@fb.com>
>> ---
>> tools/perf/Documentation/perf-stat.txt | 14 ++++++++++++++
>> 1 file changed, 14 insertions(+)
>>
>> diff --git a/tools/perf/Documentation/perf-stat.txt b/tools/perf/Documentation/perf-stat.txt
>> index 5d4a673d7621a..15b9a646e853d 100644
>> --- a/tools/perf/Documentation/perf-stat.txt
>> +++ b/tools/perf/Documentation/perf-stat.txt
>> @@ -75,6 +75,20 @@ report::
>> --tid=<tid>::
>> stat events on existing thread id (comma separated list)
>>
>> +-b::
>> +--bpf-prog::
>> + stat events on existing bpf program id (comma separated list),
>> + requiring root righs. For example:
>
> Typo: rights
>
> It'd be nice if it can show how we can get the id.

Thanks for the review! I fill fix these in the next version.

Song

\
 
 \ /
  Last update: 2020-12-29 18:01    [W:0.091 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site