Dear Guru (and tptp-dev)

I would like to start building a profiling tool for a University
project on top of the latest JVMTI profiler in TPTP 4.4.

I would like some pointers as to the APIs I will need to use.

The project's aim is to create a tool that will allow a programmer to
specify rules about a program's resources (such as time, memory,
object count etc) and have these rules evaluated during a profiling
session of an application.

To do this I will need to instrument the application's bytecode to
track resources and record program events such as method entry and
exits.

I need to understand the Agent Controller / TPTP architecture to be
able to start creating this tool. I am unsure whether I will be able
to this in straight Java, utilising the TPTP SDKs or whether I will
need to extend the Agent Controller.

* How exactly does the current Eclipse JVMTI profiler work? Is there
any documentation describing its design and implementation? How much
of the profiling logic is specified in the Eclipse plugin?

* Can I direct bytecode instrumentation via a Java API which is then
relayed to the Agent Controller or does the agent controller decide
how to instrument the program?

* Is there any example code using the TPTP 4.4 APIs that I could learn from?

* Is Javadoc available for the 4.4 public API? I have not found
anything currently?

* Does anyone have any immediate thoughts about the project? Useful
pointers, example code etc?

I appreciate any help. I think this work will be good for TPTP, I may
be able to give useful feedback (or even code patches) based on the
work which would help the project.

Thanks in advance.

Neil Dunn (Imperial College London)
_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev

Reply via email to