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

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