Git Product home page Git Product logo

Comments (5)

jbachorik avatar jbachorik commented on July 4, 2024

[author="jbachorik", created="Fri, 30 Jul 2010 09:12:40 +0200"]

Could you provide the example usage?

from btrace.

jbachorik avatar jbachorik commented on July 4, 2024

[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.

jbachorik avatar jbachorik commented on July 4, 2024

[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.

jbachorik avatar jbachorik commented on July 4, 2024

[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.

jbachorik avatar jbachorik commented on July 4, 2024

[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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.