Comments (5)
[author="jbachorik", created="Fri, 30 Jul 2010 09:12:40 +0200"]
Could you provide the example usage?
from btrace.
[author="joachimhskeie", created="Wed, 4 Aug 2010 15:40:12 +0200"]
I would like to use this variable for two things, initially.
First I would like to be able to use the agentname to name the script output files (btraceScript.class.agentname.01, etc). That way I can keep all my BTrace Scripts in one folder on the server, and then use it to instrument multiple applications (I have a couple of Java applications running on the same server that I wish to instrument with the same scripts).
The second is for use within the script itself as property("btrace.agentname").
from btrace.
[author="jbachorik", created="Fri, 20 Aug 2010 15:38:18 +0200"]
Ok, I've tried to implement the functionality. Please, check out the attached patch.
from btrace.
[author="joachimhskeie", created="Mon, 23 Aug 2010 23:12:58 +0200"]
Well, this all depends on what you pass into BTrace as the scriptdir=.
Applying the Patch, script outputfile are created like this on my Mac:
EurekaJAgent//Users/jhs/btrace/scripts/CustomBtracer.class.btrace
Which isn't exactly what I was aiming for
Attaching a new diff file with some changes (needs to be applied after your patch), which created outputfiles as:
/Users/jhs/btrace/scripts/CustomBtracer.class.EurekaJAgent.btrace
from btrace.
[author="jbachorik", created="Wed, 25 Aug 2010 15:56:32 +0200"]
Fixed with the adjustment proposed by joachim - http://kenai.com/projects/btrace/sources/hg/revision/379
from btrace.
Related Issues (20)
- Disable BTrace debug logging HOT 4
- Stack map does not match the one at exception handler HOT 7
- Exception in thread "main" java.lang.NullPointerException HOT 2
- Throw NoSuchFieldException when call getInt() method HOT 5
- btrace INFO: Attaching BTrace to PID: 3866 Broken pipe HOT 1
- Does the BTrace agent support java 17? HOT 1
- Unsupported class file major version 29281 HOT 5
- Is adding method printStrings with a ... array possible? HOT 4
- Javaagent args for output directory seems wrong HOT 3
- Btrace doesn't trace methods when trusted is true HOT 1
- Adding XStream to the dependencies error HOT 2
- JAR artifacts are shadowed with the version number
- [BTRACE WARN] Class verification failed:
- Windows batch scripts do not work properly HOT 2
- Build fails with missing artifact HOT 4
- NoClassDefFoundError for NonBlockingIdentityHashMap when running an application with BTrace HOT 4
- Review target compileJava15Java in btrace-runtime/build.gradle
- NoClassDefFoundError for ConcurrentAutoTable and others when running an application with BTrace HOT 1
- VerifyError: Bad type on operand stack HOT 2
- MT-safety of HistoOnEvent example HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from btrace.