Context. We still do not understand which physical mechanisms are responsible for the transport of angular momentum inside stars. The recent detection of mixed modes that contain the clear signature of rotation in the spectra of Kepler subgiants and red giants gives us the opportunity to make progress on this question. Aims. Our aim is to probe the radial dependence of the rotation profiles for a sample of Kepler targets. For this purpose, subgiants and early red giants are particularly interesting targets because their rotational splittings are more sensitive to the rotation outside the deeper core than is the case for their more evolved counterparts. Methods. We first extracted the rotational splittings and frequencies of ...