manpages: Minor fixes

A typo, some escaping for paths and the header for an option.

Signed-off-by: Domenico Andreoli <domenico.andreoli@linux.com>
Cc: dwarves@vger.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Domenico Andreoli 2021-10-25 10:53:29 +02:00 committed by Arnaldo Carvalho de Melo
parent e975d0fba8
commit 3433c67bbd
1 changed files with 4 additions and 3 deletions

View File

@ -100,7 +100,8 @@ or file URLs (e.g.: file://class_list.txt)
.B \-c, \-\-cacheline_size=SIZE .B \-c, \-\-cacheline_size=SIZE
Set cacheline size to SIZE bytes. Set cacheline size to SIZE bytes.
.TP \-\-sort .TP
.B \-\-sort
Sort the output by type name, maybe this will grow to allow sorting by other Sort the output by type name, maybe this will grow to allow sorting by other
criteria. criteria.
@ -792,7 +793,7 @@ $ pahole ~/bin/perf --header=perf_file_header --seek_bytes '$header.data.offset'
.size = 88, .size = 88,
}, },
.id = 13, .id = 13,
.path = "/machine.slice/machine-qemu\x2d1\x2drhel6.sandy.scope", .path = "/machine.slice/machine-qemu\\x2d1\\x2drhel6.sandy.scope",
}, },
$ $
.fi .fi
@ -805,7 +806,7 @@ $ pahole ~/bin/perf --header=perf_file_header --range=data -C 'perf_event_header
.P .P
This uses ~/bin/perf to get the type definitions, the defines 'struct perf_file_header' as the header, This uses ~/bin/perf to get the type definitions, the defines 'struct perf_file_header' as the header,
then seeks '$header.data.offset' bytes from the start of the file, and considers '$header.data.size' bytes then seeks '$header.data.offset' bytes from the start of the file, and considers '$header.data.size' bytes
worth of such records. The filter expression may omit a common prefix, in this case it could additonally be worth of such records. The filter expression may omit a common prefix, in this case it could additionally be
equivalently written as both 'filter=type==CGROUP' or the 'filter=' can also be omitted, getting as compact equivalently written as both 'filter=type==CGROUP' or the 'filter=' can also be omitted, getting as compact
as 'type==CGROUP': as 'type==CGROUP':
.P .P