Here the code to profile WAS 6.1

jip-src-1.2\src\com\mentorgen\tools\profile\instrument\clfilter\WASClassLoaderFilter.java

package com.mentorgen.tools.profile.instrument.clfilter;

public class WASClassLoaderFilter implements ClassLoaderFilter {
      
public boolean canFilter() {
return true;
}
      
    public boolean accept(ClassLoader loader) {
    return loader.getClass().getName().equals( "com.ibm.ws.classloader.CompoundClassLoader" );
    }
}

In profile.properties, use:

ClassLoaderFilter.1=com.mentorgen.tools.profile.instrument.clfilter.WASClassLoaderFilter