My goal is to use perf
to run performance tests on some Docker images. By default, the images I'm using don't come with perf
. As such, I tried
apt-get update
apt-get install linux-tools-generic
to get perf, but I got
E: Unable to locate package linux-tools-generic
I asked on SO, and was told that my sources.list
might not be set up properly, and was also sent here because my confusion better pertains to SF.
Any advice on how I can get/run perf
inside various Docker containers?