3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-02-02 15:26:19 +00:00

Merge pull request #5644 from nataliakokoromyti/upstream-linux-perf-unistd

Add unistd header for Linux
This commit is contained in:
Miodrag Milanović 2026-01-30 08:17:43 +01:00 committed by GitHub
commit ac427a79b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -28,6 +28,7 @@ USING_YOSYS_NAMESPACE
PRIVATE_NAMESPACE_BEGIN
#ifdef __linux__
#include <unistd.h>
struct LinuxPerf : public Pass {
LinuxPerf() : Pass("linux_perf", "turn linux perf recording off or on") {
internal();