perf_event_open.2: Assign calculated value explicitly to 'config'
PATCH 1/1 perf_event_open.2: Assign calculated value explicitly to 'config'
Signed-off-by Alejandro Colomar <[email protected]>
--- man2/perf_event_open.2 | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-)
man2/perf_event_open.2 +7 -4
@@ -569,10 +569,13 @@ To calculate the appropriate value use the following equation: .PP .RS 4 -.nf - (perf_hw_cache_id) | (perf_hw_cache_op_id << 8) | - (perf_hw_cache_op_result_id << 16) -.fi +.RS 4 +.EX +config = (perf_hw_cache_id) | + (perf_hw_cache_op_id << 8) | + (perf_hw_cache_op_result_id << 16); +.EE +.RE .PP where .I perf_hw_cache_id
Signature · 1 line
2.28.0
Hi Alex,
Quoted 1 line · Alejandro Colomar
Signed-off-by Alejandro Colomar <[email protected]>
Thanks! Patch applied.
Cheers,
Michael
Quoted 27 lines
--- man2/perf_event_open.2 | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-)man2/perf_event_open.2 +7
-4@@ -569,10 +569,13 @@ To calculate the appropriate value use the following equation: .PP .RS 4 -.nf - (perf_hw_cache_id) | (perf_hw_cache_op_id << 8) | - (perf_hw_cache_op_result_id << 16) -.fi +.RS 4 +.EX +config = (perf_hw_cache_id) | + (perf_hw_cache_op_id << 8) | + (perf_hw_cache_op_result_id << 16); +.EE +.RE .PP where .I perf_hw_cache_id
Signature · 3 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/