что не так с perf make perf perf stat -e…
- User
что не так с perf make perf perf stat -e L1-dcache-load-misses,L1-dcache-loads,L1-dcache-stores,L1-dcache-store-misses,LLC-load-misses,LLC-loads,LLC-store-misses,LLC-stores ./lab3 16 WARNING: perf not found for kernel 5.15.146.1-microsoft
You may need to install the following packages for this specific kernel: linux-tools-5.15.146.1-microsoft-standard-WSL2 linux-cloud-tools-5.15.146.1-microsoft-standard-WSL2
You may also want to install one of the following packages to keep up to date: linux-tools-standard-WSL2 linux-cloud-tools-standard-WSL2 make: *** [Makefile:28: perf] Error 2 CC = g++ CC_FLAGS = -std=c++17 -g -Wall -Werror -Wextra AVX_FLAGS = -mavx LDFLAGS = -lgtest -lgmock -pthread PERF_FLAGS = L1-dcache-load-misses,L1-dcache-loads,L1-dcache-stores,L1-dcache-store-misses,LLC-load-misses,LLC-loads,LLC-store-misses,LLC-stores
LAB3_CPP = (wildcard *.h) LAB3_O = $(LAB3_CPP:.cpp=.o) EXECUTABLE = lab3
- Assistant
Проблема, с которой вы столкнулись при использовании
perfв вашем WSL (Windows Subsystem for Linux), связана с тем, что для текущей версии вашего ядра (Kernel 5.15.146.1-microsoft) отсутствуют необходимые пакеты инструментов. Эти инструменты требуются для работыperf, который используется для анализа производительности приложений в Linux.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.