Blame SOURCES/0021-Add-documentation-for-executable-option.patch

23d3c3
From 9bee76c98c304cac36f1591baf9219f3dbf5fe37 Mon Sep 17 00:00:00 2001
23d3c3
From: Jakub Filak <jfilak@redhat.com>
23d3c3
Date: Sat, 11 Jan 2014 00:51:04 +0100
23d3c3
Subject: [PATCH 21/39] Add documentation for 'executable' option
23d3c3
23d3c3
Related #28
23d3c3
Related to rhbz#1054737
23d3c3
---
23d3c3
 README | 16 ++++++++++++++--
23d3c3
 1 file changed, 14 insertions(+), 2 deletions(-)
23d3c3
23d3c3
diff --git a/README b/README
23d3c3
index bf0f8f3..590db7e 100644
23d3c3
--- a/README
23d3c3
+++ b/README
23d3c3
@@ -43,7 +43,7 @@ $  java -agentlib:abrt-java-connector=abrt=on $MyClass -platform.jvmtiSupported
23d3c3
 
23d3c3
 Example3:
23d3c3
 - this example shows how to configure the log output destination
23d3c3
-- output option is designed for this purpose
23d3c3
+- 'output' option is designed for this purpose
23d3c3
 - abrt-java-connector does not print any logs by default
23d3c3
 - the first command prints logs to /tmp/abrt_checker_$PID.log
23d3c3
 
23d3c3
@@ -56,7 +56,7 @@ $  java -agentlib:abrt-java-connector=output=/tmp/abrt-agent.log $MyClass -platf
23d3c3
 
23d3c3
 Example4:
23d3c3
 - this example shows how to enable reporting of caught exceptions
23d3c3
-- caught option is designed for this purpose
23d3c3
+- 'caught' option is designed for this purpose
23d3c3
 - by default no caught exception is reported
23d3c3
 - user must provide a colon separated list of exception type names
23d3c3
 
23d3c3
@@ -74,3 +74,15 @@ $  java -agentlib:abrt-java-connector=journald=off $MyClass -platform.jvmtiSuppo
23d3c3
 
23d3c3
 - enable syslog
23d3c3
 $  java -agentlib:abrt-java-connector=syslog=on $MyClass -platform.jvmtiSupported true
23d3c3
+
23d3c3
+Example5:
23d3c3
+- this example shows how configure abrt-java-connector to fill 'executable'
23d3c3
+  ABRT file with a path to a class on the bottom of the stack trace (the first
23d3c3
+  method of thread)
23d3c3
+- this feature can be enabled via 'executable' option which can contain either
23d3c3
+  'mainclass' or 'threadclass'
23d3c3
+
23d3c3
+$  java -agentlib:abrt-java-connector=executable=threadclass $MyClass -platform.jvmtiSupported true
23d3c3
+
23d3c3
+- 'mainclass' is used when 'executable' option is not passed and 'executable'
23d3c3
+  file is filled with full path $MyClass
23d3c3
-- 
23d3c3
1.8.3.1
23d3c3