@Override public ThreadInfo map(ThreadInfo stck) { Profile p = (Profile) stck.getVal(STACK); p.filter( new ProfileNodeFilter() { @Override public boolean accept(SFNode node, int level, Object context) { return node.getStackFrame().contains(expr); } }, null); return stck; }
@Override public ThreadInfo map(ThreadInfo stck) { Profile p = (Profile) stck.getVal("stack"); p.filter( new ProfileNodeFilter() { @Override public boolean accept(SFNode node, int level, Object context) { int depthBelow = node.depthBelow(); return depthBelow < count; } }, null); return stck; }