Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf tools Documentation: Fix diverse typos

Go over the tools/ files that are maintained in Arnaldo's tree and
fix common typos: half of them were in comments, the other half
in JSON files.

No change in functionality intended.

Committer notes:

This was split from a larger patch as there are code that is,
additionally, maintained outside the kernel tree, so to ease cherry
picking and/or backporting, split this into multiple patches.

In this particular case, it affects documentation, so may be interesting
to cherry pick as it is information that is presented to the user.

Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20181203102200.GA104797@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

authored by

Ingo Molnar and committed by
Arnaldo Carvalho de Melo
1a7ea328 3e449f7c

+4 -4
+1 -1
tools/perf/Documentation/perf-list.txt
··· 172 172 Other PMUs and global measurements are normally root only. 173 173 Some event qualifiers, such as "any", are also root only. 174 174 175 - This can be overriden by setting the kernel.perf_event_paranoid 175 + This can be overridden by setting the kernel.perf_event_paranoid 176 176 sysctl to -1, which allows non root to use these events. 177 177 178 178 For accessing trace point events perf needs to have read access to
+1 -1
tools/perf/Documentation/perf-report.txt
··· 252 252 Usually more convenient to use --branch-history for this. 253 253 254 254 value can be: 255 - - percent: diplay overhead percent (default) 255 + - percent: display overhead percent (default) 256 256 - period: display event period 257 257 - count: display event count 258 258
+2 -2
tools/perf/Documentation/perf-stat.txt
··· 50 50 /sys/bus/event_source/devices/<pmu>/format/* 51 51 52 52 Note that the last two syntaxes support prefix and glob matching in 53 - the PMU name to simplify creation of events accross multiple instances 53 + the PMU name to simplify creation of events across multiple instances 54 54 of the same type of PMU in large systems (e.g. memory controller PMUs). 55 55 Multiple PMU instances are typical for uncore PMUs, so the prefix 56 56 'uncore_' is also ignored when performing this match. ··· 277 277 for best results. Otherwise the bottlenecks may be inconsistent 278 278 on workload with changing phases. 279 279 280 - This enables --metric-only, unless overriden with --no-metric-only. 280 + This enables --metric-only, unless overridden with --no-metric-only. 281 281 282 282 To interpret the results it is usually needed to know on which 283 283 CPUs the workload runs on. If needed the CPUs can be forced using