From aspects to TPTP [message #86072] |
Mon, 30 October 2006 10:46 |
Eclipse User |
|
|
|
Originally posted by: pastorefabrizio.REMOVElibero.it
I need to port my aspect-based logging application to TPTP.
My application basically saves information on data exchanged between
methods calls.
I used Aspectwerkz and so i could attach my aspects with a very fine
granularity: i could select the class/method from which the method is
called and the class/method that is effectively called.
The construct I used in aspectwerkz was something like this:
<aspect class="MyAspect">
<pointcut name="pc0" expression="call(public *
package.ClassTo.*(..)) AND within( package.ClassFrom.. )" />
<advice name="myAdvide" type="before" bind-to="pc0" />
</aspect>
with this aspect i can instrument all call from
package.ClassFrom.everyMethods() to package.ClassTo.aMethod()
It seems that TPTP probes are very similar to aspects, but it also seems
to me that with probes i can only select the target but not the method
doing the call.
So, I have these consequences:
1) more code instrumented
2) I have to write code that do checks needed
I don't want to add such code.
Is there a way to have such kind of fine grainularity?
Thanks in advance
Fabrizio
|
|
|
Re: From aspects to TPTP [message #86087 is a reply to message #86072] |
Mon, 30 October 2006 17:56 |
Eclipse User |
|
|
|
Originally posted by: nmehrega.ca.ibm.com
This is a multipart message in MIME format.
--=_alternative 006292FC85257217_=
Content-Type: text/plain; charset="US-ASCII"
>It seems that TPTP probes are very similar to aspects, but it also seems
>to me that with probes i can only select the target but not the method
>doing the call.
Actually you can instrument the methods that are making the call by using
callsite probes. See the following help document for more info:
Monitoring and profiling applications -> Collecting runtime data with
user-defined probes -> Probe definitions -> Probe fragements -> Probe
fragment types -> Method probes versus callsite probes
Navid Mehregani
--=_alternative 006292FC85257217_=
Content-Type: text/html; charset="US-ASCII"
<br><font size=2 face="sans-serif">>It seems that TPTP probes are very
similar to aspects, but it also seems </font>
<br><font size=2 face="sans-serif">>to me that with probes i can only
select the target but not the method </font>
<br><font size=2 face="sans-serif">>doing the call.</font>
<br>
<br><font size=2 face="sans-serif">Actually you can instrument the methods
that are making the call by using callsite probes. See the following
help document for more info: Monitoring and profiling applications ->
Collecting runtime data with user-defined probes -> Probe definitions
-> Probe fragements -> Probe fragment types -> Method probes versus
callsite probes</font>
<br>
<br><font size=2 face="sans-serif">Navid Mehregani</font>
--=_alternative 006292FC85257217_=--
|
|
|
Re: From aspects to TPTP [message #86254 is a reply to message #86087] |
Thu, 02 November 2006 09:30 |
Eclipse User |
|
|
|
Originally posted by: pastorefabrizio.REMOVElibero.it
Navid_Mehregani wrote:
[..]
> Actually you can instrument the methods that are making the call by
> using callsite probes. See the following help document for more info:
> Monitoring and profiling applications -> Collecting runtime data with
> user-defined probes -> Probe definitions -> Probe fragements -> Probe
> fragment types -> Method probes versus callsite probes
>
Yes, but i need to track someting like:
"all calls from p1.A.b to p2.B.*"
or
"all calls from p1.A.b"
And It seems to me that this is not possible (without adding control in
my probes).
Another question: probekit is still not working with the new agent
controller for linux (x86_64ù) and tptp versuion 4.3, right?
Thanks in advance
Fabrizio Pastore
|
|
|
Re: From aspects to TPTP [message #86284 is a reply to message #86254] |
Thu, 02 November 2006 15:41 |
Eclipse User |
|
|
|
Originally posted by: nmehrega.ca.ibm.com
This is a multipart message in MIME format.
--=_alternative 00563D0C8525721A_=
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
>"all calls from p1.A.b"
>And It seems to me that this is not possible (without adding control in=20
>my probes).
Yes, that's right. You can't do this with your filtering criteria. You=20
need to add some control checking to your probes in order to be able to do =
this.
>Another question: probekit is still not working with the new agent=20
>controller for linux (x86=5F64=F9) and tptp versuion 4.3, right?
There is no official support for Probekit on the new technology Agent=20
Controller for 64-bit Linux.
--=_alternative 00563D0C8525721A_=
Content-Type: text/html; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
<br><font size=3D2 face=3D"sans-serif">>"all calls from p1.A.b"=
;<br>
>And It seems to me that this is not possible (without adding control
in <br>
>my probes).</font>
<br>
<br><font size=3D2 face=3D"sans-serif">Yes, that's right. You can't do
this with your filtering criteria. You need to add some control check=
ing
to your probes in order to be able to do this.</font>
<br>
<br><font size=3D2 face=3D"Default San Serif">>Another question: probekit
is still not working with the new agent <br>
>controller for linux (x86=5F64=F9) and tptp versuion 4.3, right?</font>
<br>
<br><font size=3D2 face=3D"Default San Serif">There is no official support
for Probekit on the new technology Agent Controller for 64-bit Linux.</font>
--=_alternative 00563D0C8525721A_=--
|
|
|
Re: From aspects to TPTP [message #86346 is a reply to message #86284] |
Fri, 03 November 2006 12:41 |
Eclipse User |
|
|
|
Originally posted by: pastorefabrizio.REMOVElibero.it
Navid_Mehregani wrote:
>
> >"all calls from p1.A.b"
> >And It seems to me that this is not possible (without adding control in
> >my probes).
>
> Yes, that's right. You can't do this with your filtering criteria. You
> need to add some control checking to your probes in order to be able to
> do this.
>
> >Another question: probekit is still not working with the new agent
> >controller for linux (x86_64ù) and tptp versuion 4.3, right?
>
> There is no official support for Probekit on the new technology Agent
> Controller for 64-bit Linux.
Last couple of questions (OT i know):
There will be support for Probekit for 64-bit Linux?
Probes will remain or is a feature that will be dismissed in the future?
Is there any architectural documentation on TPTP's components or there
is only that on eclipse.org/tptp?
Thank you for all
Regards
Fabrizio
|
|
|
Re: From aspects to TPTP [message #86575 is a reply to message #86346] |
Mon, 06 November 2006 15:36 |
Eclipse User |
|
|
|
Originally posted by: nmehrega.ca.ibm.com
This is a multipart message in MIME format.
--=_alternative 0055BEF38525721E_=
Content-Type: text/plain; charset="US-ASCII"
I doubt that Probekit will be dropped from TPTP in the future. There are
a number of enhancements open to support Probekit on 64-bit Linux. Here's
what I could find:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=108584
https://bugs.eclipse.org/bugs/show_bug.cgi?id=121658
Feel free to add yourself to the CC list of these bugs.
Navid Mehregani
--=_alternative 0055BEF38525721E_=
Content-Type: text/html; charset="US-ASCII"
<br><font size=2 face="sans-serif">I doubt that Probekit will be dropped
from TPTP in the future. There are a number of enhancements open
to support Probekit on 64-bit Linux. Here's what I could find:</font>
<br>
<br><font size=2 face="sans-serif">https://bugs.eclipse.org/bugs/show_bug.cgi?id=108584</font>
<br><font size=2 face="sans-serif">https://bugs.eclipse.org/bugs/show_bug.cgi?id=121658</font>
<br>
<br><font size=2 face="sans-serif">Feel free to add yourself to the CC
list of these bugs. </font>
<br>
<br><font size=2 face="sans-serif">Navid Mehregani</font>
--=_alternative 0055BEF38525721E_=--
|
|
|
Powered by
FUDForum. Page generated in 0.02228 seconds