Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile Perf Tool #3

Open
hgn opened this issue Sep 1, 2022 · 3 comments
Open

Compile Perf Tool #3

hgn opened this issue Sep 1, 2022 · 3 comments
Assignees

Comments

@hgn
Copy link
Member

hgn commented Sep 1, 2022

Schicke Petar die Hilfe wie Perf installiert werden kann.

@hgn hgn self-assigned this Sep 1, 2022
@hgn
Copy link
Member Author

hgn commented Sep 1, 2022

$ git clone https://github.com/protocollabs/linux-kernel-perf
$ git checkout <stable-kernel-version> # see git tags
$ mkdir -p /tmp/build/perf
$ make PYTHON=python3 -C linux-stable/tools/perf O=/tmp/build/perf prefix=/usr/local
$ sudo make -C linux-stable/tools/perf O=/tmp/build/perf prefix=/usr/local install
$ export PATH=/usr/local/bin:$PATH
$ perf --version

@hgn
Copy link
Member Author

hgn commented Sep 1, 2022

Beim make sollte relativ am Anfang eine ähnlich unterstützte Liste an Tools vorhanden sein, Das wird bei dir nicht der Fall sein, du musst erstmal eine Menge an Debian Bibliotheken via apt-get install installieren. Sollte es nicht so "grün" sein, wie bei mir, dann musst du noch weitere Bibliotheken installieren.

Image

@hgn hgn assigned PetarGligoric and unassigned hgn Sep 1, 2022
@PetarGligoric
Copy link

PetarGligoric commented Sep 5, 2022

dependency , die fehlt nach installation die für den kernel (issue 2) gebraucht werden :

sudo apt-get install -y libnuma-dev
sudo apt-get install python3-setuptools

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants