private function createProfilerProbes($name, ContainerBuilder $container)
    {
        $key = sprintf("socloz_monitoring.profiler.probe.definition.%s", $name);
        if ($container->hasParameter($key)) {
            $definition = $container->getParameter($key);

            return array($this->createProbeDefinition($name, Probe::TRACKER_CALLS | Probe::TRACKER_TIMING, $definition, $container));
        } else {
            return array(
                $this->createProbeDefinition(
                    $name,
                    Probe::TRACKER_CALLS,
                    $container->getParameter($key.'.calls'), $container
                ),
                $this->createProbeDefinition(
                    $name,
                    Probe::TRACKER_TIMING,
                    $container->getParameter($key.'.timing'),
                    $container
                ),
            );
        }
    }