Conditionnal profiling for connections.