Fix perf build failure on many architectures
Cherry-pick upstream change "perf python: Fix the build on 32-bit arm by including missing "util/sample.h"".
This should also fix FTBFS on alpha, hppa, mips64el, and sparc64.
Cherry-pick upstream change "perf python: Fix the build on 32-bit arm by including missing "util/sample.h"".
This should also fix FTBFS on alpha, hppa, mips64el, and sparc64.