Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » TPTP Application Context Extension
TPTP Application Context Extension [message #82367] Fri, 01 September 2006 18:53 Go to next message
Vsevolod Sandomirskiy is currently offline Vsevolod SandomirskiyFriend
Messages: 21
Registered: July 2009
Junior Member
I'm running 'Working with the Application Context Extension sample' from
the online help. It's not clear how to make it work, though.
'Preferences -> Profiling and Logging -> Application context' shows the
new C context. Selecting it there has no visible effect. Now I run tptp
java profiler, 'Execution Statistics' view shows data in java format.
The view's menu contains 'Display application context' but it shows only
Java.

Assume my agent produces C/C++ data that adhere to tptp trace model. Who
decides which context to use?

If you guys help me and we make it work, will it still show the default
java.lang package?

Thanks.

Vsevolod
Re: TPTP Application Context Extension [message #82579 is a reply to message #82367] Tue, 05 September 2006 17:59 Go to previous message
Eugene Chan is currently offline Eugene ChanFriend
Messages: 287
Registered: July 2009
Senior Member
Vsevolod

In order to have trace views list the C context and apply the C context on
the trace data. The trace data generated by your agent must contains
language attributes of the known context type. See profileFile/CTrace.trcxml
file in Application context example for detail.

<traceStart traceId="1" agentIdRef="1" time="1067991686.000000"
language="C/C++" />

The language="C/C++" attribute must match the contextKey value in extension
point org.eclipse.hyades.ui.contexts, as in
<extension point="org.eclipse.hyades.ui.contexts">

<context

id="C/C++"

contextKey="C/C++"

name="%_1"

description="%_2"

icon="/icons/full/obj16/compileunit.gif">

</context>

</extension>

Regards,
Eugene

"Vsevolod Sandomirskiy" <vss@ocsystems.com> wrote in message
news:eda01a$i2l$1@utils.eclipse.org...
> I'm running 'Working with the Application Context Extension sample' from
> the online help. It's not clear how to make it work, though.
> 'Preferences -> Profiling and Logging -> Application context' shows the
> new C context. Selecting it there has no visible effect. Now I run tptp
> java profiler, 'Execution Statistics' view shows data in java format.
> The view's menu contains 'Display application context' but it shows only
> Java.
>
> Assume my agent produces C/C++ data that adhere to tptp trace model. Who
> decides which context to use?
>
> If you guys help me and we make it work, will it still show the default
> java.lang package?
>
> Thanks.
>
> Vsevolod
>
Previous Topic:linux system trace broken?
Next Topic:Thread Dump Analyzer
Goto Forum:
  


Current Time: Thu Apr 25 21:37:44 GMT 2024

Powered by FUDForum. Page generated in 0.02517 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top