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

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