|
|
b35d98 |
From d20626db00428ccf0343ad4e87af6b59c00b2bf8 Mon Sep 17 00:00:00 2001
|
|
|
b35d98 |
From: Jakub Filak <jfilak@redhat.com>
|
|
|
b35d98 |
Date: Mon, 20 Jan 2014 09:54:48 +0100
|
|
|
b35d98 |
Subject: [PATCH 35/39] Add a manual page for the analysis tool
|
|
|
b35d98 |
|
|
|
b35d98 |
Related to #29
|
|
|
b35d98 |
Related to rhbz#1054737
|
|
|
b35d98 |
---
|
|
|
b35d98 |
utils/CMakeLists.txt | 2 +
|
|
|
b35d98 |
utils/abrt-action-analyze-java.1 | 81 ++++++++++++++++++++++++++++++++++++++++
|
|
|
b35d98 |
2 files changed, 83 insertions(+)
|
|
|
b35d98 |
create mode 100644 utils/abrt-action-analyze-java.1
|
|
|
b35d98 |
|
|
|
b35d98 |
diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt
|
|
|
b35d98 |
index c358968..517c130 100644
|
|
|
b35d98 |
--- a/utils/CMakeLists.txt
|
|
|
b35d98 |
+++ b/utils/CMakeLists.txt
|
|
|
b35d98 |
@@ -32,3 +32,5 @@ target_link_libraries(abrt-action-analyze-java ${PC_LIBREPORT_LIBRARIES})
|
|
|
b35d98 |
target_link_libraries(abrt-action-analyze-java ${PC_ABRT_LIBRARIES})
|
|
|
b35d98 |
|
|
|
b35d98 |
install(TARGETS abrt-action-analyze-java DESTINATION ${BIN_INSTALL_DIR})
|
|
|
b35d98 |
+
|
|
|
b35d98 |
+install(FILES abrt-action-analyze-java.1 DESTINATION ${MAN_INSTALL_DIR}/man1)
|
|
|
b35d98 |
diff --git a/utils/abrt-action-analyze-java.1 b/utils/abrt-action-analyze-java.1
|
|
|
b35d98 |
new file mode 100644
|
|
|
b35d98 |
index 0000000..eda4d6a
|
|
|
b35d98 |
--- /dev/null
|
|
|
b35d98 |
+++ b/utils/abrt-action-analyze-java.1
|
|
|
b35d98 |
@@ -0,0 +1,81 @@
|
|
|
b35d98 |
+'\" t
|
|
|
b35d98 |
+.\" Title: abrt-action-analyze-java
|
|
|
b35d98 |
+.\" Author: [see the "AUTHORS" section]
|
|
|
b35d98 |
+.\" Date: 01/19/2014
|
|
|
b35d98 |
+.\" Manual: ABRT Manual
|
|
|
b35d98 |
+.\" Language: English
|
|
|
b35d98 |
+.\"
|
|
|
b35d98 |
+.TH "ABRT\-ACTION\-ANALYZ" "1" "01/19/2014" "abrt-java-connector" "ABRT Manual"
|
|
|
b35d98 |
+.\" -----------------------------------------------------------------
|
|
|
b35d98 |
+.\" * Define some portability stuff
|
|
|
b35d98 |
+.\" -----------------------------------------------------------------
|
|
|
b35d98 |
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
b35d98 |
+.\" http://bugs.debian.org/507673
|
|
|
b35d98 |
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
|
|
b35d98 |
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
b35d98 |
+.ie \n(.g .ds Aq \(aq
|
|
|
b35d98 |
+.el .ds Aq '
|
|
|
b35d98 |
+.\" -----------------------------------------------------------------
|
|
|
b35d98 |
+.\" * set default formatting
|
|
|
b35d98 |
+.\" -----------------------------------------------------------------
|
|
|
b35d98 |
+.\" disable hyphenation
|
|
|
b35d98 |
+.nh
|
|
|
b35d98 |
+.\" disable justification (adjust text to left margin only)
|
|
|
b35d98 |
+.ad l
|
|
|
b35d98 |
+.\" -----------------------------------------------------------------
|
|
|
b35d98 |
+.\" * MAIN CONTENT STARTS HERE *
|
|
|
b35d98 |
+.\" -----------------------------------------------------------------
|
|
|
b35d98 |
+.SH "NAME"
|
|
|
b35d98 |
+abrt-action-analyze-java \- Calculate and save UUID & DUPHASH and determine the level of usability for reporting of a Java stack trace\&.
|
|
|
b35d98 |
+.SH "SYNOPSIS"
|
|
|
b35d98 |
+.sp
|
|
|
b35d98 |
+\fIabrt\-action\-analyze\-java\fR [\-v] [\-d DIR] [\-o] [\-f FILE]
|
|
|
b35d98 |
+.SH "DESCRIPTION"
|
|
|
b35d98 |
+.sp
|
|
|
b35d98 |
+The tool reads the file named \fIbacktrace\fR from a problem data directory, processes it and generates a universally unique identifier (UUID)\&. Then it saves this data as new element \fIuuid\fR\&. It also checks whether the stack trace contains a remote address in any of its frames and if so it creates \fInot-reportable\fR element whose contents explains why the stack trace should not be reported into a bug tracking system\&.
|
|
|
b35d98 |
+.SS "Integration with ABRT events"
|
|
|
b35d98 |
+.sp
|
|
|
b35d98 |
+\fIabrt\-action\-analyze\-java\fR can be used to generate the UUID & DUPHAS of a newly saved Java stack trace\&.
|
|
|
b35d98 |
+.sp
|
|
|
b35d98 |
+.if n \{\
|
|
|
b35d98 |
+.RS 4
|
|
|
b35d98 |
+.\}
|
|
|
b35d98 |
+.nf
|
|
|
b35d98 |
+EVENT=post\-create analyzer=Java abrt\-action\-analyze\-java
|
|
|
b35d98 |
+.fi
|
|
|
b35d98 |
+.if n \{\
|
|
|
b35d98 |
+.RE
|
|
|
b35d98 |
+.\}
|
|
|
b35d98 |
+.SH "OPTIONS"
|
|
|
b35d98 |
+.PP
|
|
|
b35d98 |
+\-d DIR
|
|
|
b35d98 |
+.RS 4
|
|
|
b35d98 |
+Path to a problem directory\&. The tool reads the backtrace from stdin when neither this option nor -f is provided\&.
|
|
|
b35d98 |
+.RE
|
|
|
b35d98 |
+.PP
|
|
|
b35d98 |
+\-f FILE
|
|
|
b35d98 |
+.RS 4
|
|
|
b35d98 |
+Path to a stack trace\&. The tool reads the backtrace from stdin when neither this option nor -d is provided\&.
|
|
|
b35d98 |
+.RE
|
|
|
b35d98 |
+.PP
|
|
|
b35d98 |
+\-o
|
|
|
b35d98 |
+.RS 4
|
|
|
b35d98 |
+Print the result to stdout\&.
|
|
|
b35d98 |
+.RE
|
|
|
b35d98 |
+.PP
|
|
|
b35d98 |
+\-v
|
|
|
b35d98 |
+.RS 4
|
|
|
b35d98 |
+Be more verbose\&. Can be given multiple times\&.
|
|
|
b35d98 |
+.RE
|
|
|
b35d98 |
+.SH "AUTHORS"
|
|
|
b35d98 |
+.sp
|
|
|
b35d98 |
+.RS 4
|
|
|
b35d98 |
+.ie n \{\
|
|
|
b35d98 |
+\h'-04'\(bu\h'+03'\c
|
|
|
b35d98 |
+.\}
|
|
|
b35d98 |
+.el \{\
|
|
|
b35d98 |
+.sp -1
|
|
|
b35d98 |
+.IP \(bu 2.3
|
|
|
b35d98 |
+.\}
|
|
|
b35d98 |
+ABRT team
|
|
|
b35d98 |
+.RE
|
|
|
b35d98 |
--
|
|
|
b35d98 |
1.8.3.1
|
|
|
b35d98 |
|