Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Rules for combining intersecting INCLUDE and EXCLUDE filters
Rules for combining intersecting INCLUDE and EXCLUDE filters [message #754870] Fri, 04 November 2011 13:04 Go to next message
Adrian Price is currently offline Adrian Price
Messages: 57
Registered: July 2009
Member
Good day TPTP,

I'm trying to memory profile some of my application packages while
excluding others (purely to avoid OOMEs from having collected too much
data). By default all classes are included so it seems illogical that an
INCLUDE rule isn't capable of overriding a matching EXCLUDE rule.

For instance:

com.company.interesting.* * INCLUDE
com.company.* * EXCLUDE

collects no com.company.interesting.* data, and nor does

com.company.interesting.* * INCLUDE
* * EXCLUDE

*regardless* of the order of the rules.

Am I attempting the impossible?

Thanks,

--A
Re: Rules for combining intersecting INCLUDE and EXCLUDE filters [message #754875 is a reply to message #754870] Fri, 04 November 2011 13:23 Go to previous messageGo to next message
Torsten Stolpmann is currently offline Torsten Stolpmann
Messages: 37
Registered: July 2009
Member
Hello again Adrian,

according to http://www.eclipse.org/tptp/platform/documents/speed_profiling/speedUpProfiling.html order *is* significant here, so I am surprised to see that this is not working for you.

So if you are sure, feel free to raise a bug for this if possible including an example of what you tried.

Cheers,

Torsten
Re: Rules for combining intersecting INCLUDE and EXCLUDE filters [message #754907 is a reply to message #754875] Fri, 04 November 2011 16:51 Go to previous message
Adrian Price is currently offline Adrian Price
Messages: 57
Registered: July 2009
Member
Hello Torsten,

Hmm, I tried it again and placing the wider-scoped exclude after the
narrower include does indeed work. I'm not sure what I was seeing before
- perhaps some other factor was preventing data collection.

Thanks again for the quick response,

Cheers,

--A
Previous Topic:Local memory profiling of a 32-bit Eclipse application from a 64-bit workbench (Windows)
Next Topic:Testing of Android mobile apps
Goto Forum:
  


Current Time: Thu Aug 21 02:28:49 EDT 2014

Powered by FUDForum. Page generated in 0.01583 seconds