ServerBench.cpp calls syscall(SYS_perf_event_open, ...) but did not include <sys/syscall.h>, relying on <unistd.h> to transitively provide the SYS_* constants. On toolchains where that does not happen, the build fails with SYS_perf_event_open not declared.
Add the missing include so server_bench compiles on any platform that provides perf_event_open.
Resolves weaselab/conflict-set#41.
`ServerBench.cpp` calls `syscall(SYS_perf_event_open, ...)` but did not include `<sys/syscall.h>`, relying on `<unistd.h>` to transitively provide the `SYS_*` constants. On toolchains where that does not happen, the build fails with `SYS_perf_event_open` not declared.
Add the missing include so `server_bench` compiles on any platform that provides `perf_event_open`.
Drops the build-image job and the private registry dependency entirely.
Each job now installs only the packages it needs, caching /var/cache/apt/archives
keyed on the workflow file and ~/.cache/pre-commit keyed on .pre-commit-config.yaml.
`ServerBench.cpp` calls `syscall(SYS_perf_event_open, ...)` but did
not include `<sys/syscall.h>`, relying on `<unistd.h>` to transitively
provide the `SYS_*` constants. On toolchains where that does not happen,
the build fails with `SYS_perf_event_open` not declared.
Add the missing include so `server_bench` compiles on any platform that
provides `perf_event_open`.
Resolvesweaselab/conflict-set#41.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Resolves weaselab/conflict-set#41.
ServerBench.cppcallssyscall(SYS_perf_event_open, ...)but did not include<sys/syscall.h>, relying on<unistd.h>to transitively provide theSYS_*constants. On toolchains where that does not happen, the build fails withSYS_perf_event_opennot declared.Add the missing include so
server_benchcompiles on any platform that providesperf_event_open.25307e9ed6to0417152a56Pull request closed