sampling improvements + working example with libpfm