Skip to content

Instantly share code, notes, and snippets.

@vaind
Last active February 13, 2020 07:53
Show Gist options
  • Save vaind/a6bac0281692f189f81c335cba04ea59 to your computer and use it in GitHub Desktop.
Save vaind/a6bac0281692f189f81c335cba04ea59 to your computer and use it in GitHub Desktop.
Using perf in a docker image
FROM ubuntu
RUN apt-get update \
&& apt-get install -y --no-install-recommends linux-tools-common linux-tools-generic \
&& apt-get clean \
&& rm /usr/bin/perf \
&& ln -s /usr/lib/linux-tools/*-generic/perf /usr/bin/perf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment