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

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