From 6ce28678e4349d9333c0038a866e91efd832a1ce Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sun, 28 Oct 2018 19:22:46 +0100 Subject: sys/linux: slightly refine perf descriptions CPU argument can be -1. It makes sense to mmap perf fd. --- sys/linux/perf_arm64.const | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/linux/perf_arm64.const') diff --git a/sys/linux/perf_arm64.const b/sys/linux/perf_arm64.const index fb91ce5a9..8e34c7bd2 100644 --- a/sys/linux/perf_arm64.const +++ b/sys/linux/perf_arm64.const @@ -68,4 +68,6 @@ PERF_TYPE_RAW = 4 PERF_TYPE_SOFTWARE = 1 PERF_TYPE_TRACEPOINT = 2 __NR_ioctl = 29 +__NR_mmap = 222 +# __NR_mmap2 is not set __NR_perf_event_open = 241 -- cgit mrf-deployment