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_arm.const | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/linux/perf_arm.const') diff --git a/sys/linux/perf_arm.const b/sys/linux/perf_arm.const index 59d5419eb..30514da5c 100644 --- a/sys/linux/perf_arm.const +++ b/sys/linux/perf_arm.const @@ -68,4 +68,6 @@ PERF_TYPE_RAW = 4 PERF_TYPE_SOFTWARE = 1 PERF_TYPE_TRACEPOINT = 2 __NR_ioctl = 54 +__NR_mmap = 192 +__NR_mmap2 = 192 __NR_perf_event_open = 364 -- cgit mrf-deployment