From da3cbb29844900a132d7dfdd7012c639517b1895 Mon Sep 17 00:00:00 2001 From: Jan Chaloupka Date: Thu, 21 Apr 2016 00:42:10 +0530 Subject: [PATCH] Fix error in libpaf-dsc and libpaf-ebb man pages example Also fix wrong formatting of libpaf-dsc man page display with reduced terminal size on PowerPC Signed-off-by: Sinny Kumari Signed-off-by: Jan Chaloupka --- dsc/doc/libpaf-dsc.3 | 18 ++++++------------ ebb/doc/libpaf-ebb.3 | 4 ++-- 2 files changed, 8 insertions(+), 14 deletions(-) diff --git a/dsc/doc/libpaf-dsc.3 b/dsc/doc/libpaf-dsc.3 index 201441f..e1c4ae4 100644 --- a/dsc/doc/libpaf-dsc.3 +++ b/dsc/doc/libpaf-dsc.3 @@ -52,47 +52,40 @@ available on Power Architecture. This register follows the layout specified in the corresponding Power ISA, with the following defined flags. These are features supported by Power ISA 2.05: -.TP +.LP .IP \[bu] 2 .BR DSCR_SSE Store Stream Enable. -.PP +.LP These features were added on Power ISA 2.06: -.TP .IP \[bu] 2 .BR DSCR_SNSE Stride-N Stream Enable. -.PP + +.LP These features were added on Power ISA 2.06+: -.TP .IP \[bu] 2 .BR DSCR_LSD Load Stream Disable. -.PP +.LP These are supported only on Power ISA 2.07: -.TP .IP \[bu] 2 .BR DSCR_HWUE Hardware Unit count Enable. -.TP .IP \[bu] 2 .BR DSCR_SWUE Software Unit count Enable. -.TP .IP \[bu] .BR DSCR_LTE Load Transient Enable. -.TP .IP \[bu] .BR DSCR_STE Software Transient Enable. -.TP .IP \[bu] .BR DSCR_HTE Hardware Transient Enable. -.TP .IP \[bu] .BR DSCR_SWTE Software Transient Enable. @@ -201,6 +194,7 @@ if the system does not support DSCR facility. .nf #include #include +#include int main(void) { diff --git a/ebb/doc/libpaf-ebb.3 b/ebb/doc/libpaf-ebb.3 index b5c9e4e..44a0844 100644 --- a/ebb/doc/libpaf-ebb.3 +++ b/ebb/doc/libpaf-ebb.3 @@ -279,7 +279,7 @@ void do_work (void) } } -int _do_ebb(void) +int do_ebb(void) { ebbhandler_t handler; ebb_handler_triggered = 0; @@ -302,7 +302,7 @@ int _do_ebb(void) paf_ebb_disable_branches (); - printf ("Done; %d EBB interrupts handled\n", ebb_handler_triggered); + printf ("Done; %d EBB interrupts handled\\n", ebb_handler_triggered); close (ebb_fd); -- 2.4.11