Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit cfff622

Browse files
committed
Added bindings to the linux perf_event.h header. The system call perf_event_open is not bound by glibc so I have included a helper
to call this through syscall (in linux unistd) which is in glibc. The bitfields were done via the phobos library (manual mixin inclusion)
1 parent 8d9a6d9 commit cfff622

File tree

3 files changed

+2443
-0
lines changed

3 files changed

+2443
-0
lines changed

mak/COPY

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ COPY=\
214214
$(IMPDIR)\core\sys\linux\ifaddrs.d \
215215
$(IMPDIR)\core\sys\linux\io_uring.d \
216216
$(IMPDIR)\core\sys\linux\link.d \
217+
$(IMPDIR)\core\sys\linux\perf_event.d \
217218
$(IMPDIR)\core\sys\linux\sched.d \
218219
$(IMPDIR)\core\sys\linux\stdio.d \
219220
$(IMPDIR)\core\sys\linux\string.d \

mak/SRCS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ SRCS=\
215215
src\core\sys\linux\ifaddrs.d \
216216
src\core\sys\linux\io_uring.d \
217217
src\core\sys\linux\link.d \
218+
src\core\sys\linux\perf_event.d \
218219
src\core\sys\linux\sched.d \
219220
src\core\sys\linux\stdio.d \
220221
src\core\sys\linux\string.d \

0 commit comments

Comments
 (0)