[PATCH] perf_event_open.2: Assign calculated value explicitly to 'config'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx>
---
 man2/perf_event_open.2 | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/man2/perf_event_open.2 b/man2/perf_event_open.2
index 4adeccdde..468589786 100644
--- a/man2/perf_event_open.2
+++ b/man2/perf_event_open.2
@@ -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
-- 
2.28.0




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux