Probabilistic aspects of dynamical systems