Created
March 27, 2024 22:53
-
-
Save mfleming/7c8e150542f88966710a2e755b3f53dd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu AS build | |
RUN apt-get update | |
RUN apt-get install -y git-core make gcc make flex bison pkg-config | |
RUN git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git | |
RUN NO_LIBTRACEEVENT=1 NO_JEVENTS=1 NO_LIBELF=1 make -C linux/tools/perf | |
FROM ubuntu | |
COPY --from=build linux/tools/perf/perf /bin/perf | |
ENTRYPOINT ["/bin/perf", "bench", "sched", "pipe"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment