So installieren Sie `sprof` in Ubuntu 14.04

So installieren Sie `sprof` in Ubuntu 14.04

Ich habe einen sauberen Docker- ubuntu:14.04Container. sprofist nicht im Basisimage installiert. Wie installiert man es? Ich nahm an, es wäre binutilszusammen mit Teil von gprof, aber es ist nicht da.

Weiß jemand, wie man es installiert sprof?

Antwort1

Paket prüfen libc-dev-bin.

Gefunden mit:

$ apt-file search sprof | grep '/usr/bin/sprof'

Also :

$ sudo apt-get update; sudo apt-get install libc-dev-bin

verwandte Informationen