[PATCH] opjitconv: add initial manpage

Roberto Oliveira <[email protected]>
Newsgroups gmane.linux.oprofile
Message-ID <[email protected]>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
oprofile-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oprofile-list
0001-opjitconv-add-initial-manpage.patch (text/x-patch, 2.1 KB)
From 0abe6e257fa5ae82ef83fc9446aa0b7be6601b8d Mon Sep 17 00:00:00 2001
From: Roberto Oliveira <[email protected]>
Date: Thu, 27 Jul 2017 21:58:54 -0300
Subject: [PATCH] opjitconv: add initial manpage

Currently opjitconv does not have a manpage, which causes some lintian
error on some Linux Distribution, as Debian.

This patch adds an initial manpage for opjitconv.

Signed-off-by: Roberto Oliveira <[email protected]>
---
 configure.ac       |  1 +
 doc/Makefile.am    |  3 ++-
 doc/opjitconv.1.in | 41 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 44 insertions(+), 1 deletion(-)
 create mode 100644 doc/opjitconv.1.in

diff --git a/configure.ac b/configure.ac
index 396660d..3da5adf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -425,6 +425,7 @@ AC_OUTPUT(Makefile \
 	doc/opimport.1 \
 	doc/operf.1 \
 	doc/ocount.1 \
+	doc/opjitconv.1 \
 	doc/srcdoc/Doxyfile \
 	libpp/Makefile \
 	opjitconv/Makefile \
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 43a7781..823274f 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -16,7 +16,8 @@ man_MANS = \
 	ophelp.1 \
 	op-check-perfevents.1 \
 	oparchive.1 \
-	opimport.1
+	opimport.1 \
+	opjitconv.1
 
 if BUILD_FOR_PERF_EVENT
 man_MANS += operf.1 \
diff --git a/doc/opjitconv.1.in b/doc/opjitconv.1.in
new file mode 100644
index 0000000..5fba7b8
--- /dev/null
+++ b/doc/opjitconv.1.in
@@ -0,0 +1,41 @@
+.TH OPJITCONV 1 "@DATE@" "oprofile @VERSION@"
+.SH NAME
+opjitconv \- convert jit dump file to an ELF
+
+.SH SYNOPSIS
+.B opjitconv
+[
+.I options
+]
+[ [--debug | --non-root | --delete-jitdumps ] --session-dir=<dir> <starttime> <endtime> ]
+
+.SH DESCRIPTION
+Convert a jit dump file to an ELF file
+
+.SH OPTIONS
+.TP
+.BI "--debug"
+Print debugging information.
+.br
+.TP
+.BI "--non-root"
+Use when opjitconv was invoked by a non-root user via operf.
+.br
+.TP
+.BI "--delete-jitdumps"
+Delete jitdump files owned by the user.
+.br
+.TP
+.BI "--session-dir [dir]"
+Session directory where sample data is stored.
+.br
+.TP
+.BI "--help / -h"
+Display brief usage message.
+.br
+
+.SH VERSION
+This man page is current for @PACKAGE@-@VERSION@.
+
+.SH SEE ALSO
+.BR oprofile(1)
-- 
2.9.4
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.