From 3433c67bbd158e1d339322f51828c2c8e9b24522 Mon Sep 17 00:00:00 2001 From: Domenico Andreoli Date: Mon, 25 Oct 2021 10:53:29 +0200 Subject: [PATCH] manpages: Minor fixes A typo, some escaping for paths and the header for an option. Signed-off-by: Domenico Andreoli Cc: dwarves@vger.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- man-pages/pahole.1 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/man-pages/pahole.1 b/man-pages/pahole.1 index 8606120..edcf58b 100644 --- a/man-pages/pahole.1 +++ b/man-pages/pahole.1 @@ -100,7 +100,8 @@ or file URLs (e.g.: file://class_list.txt) .B \-c, \-\-cacheline_size=SIZE 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 criteria. @@ -792,7 +793,7 @@ $ pahole ~/bin/perf --header=perf_file_header --seek_bytes '$header.data.offset' .size = 88, }, .id = 13, - .path = "/machine.slice/machine-qemu\x2d1\x2drhel6.sandy.scope", + .path = "/machine.slice/machine-qemu\\x2d1\\x2drhel6.sandy.scope", }, $ .fi @@ -805,7 +806,7 @@ $ pahole ~/bin/perf --header=perf_file_header --range=data -C 'perf_event_header .P 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 -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 as 'type==CGROUP': .P