summaryrefslogtreecommitdiffstats
path: root/third_party/rust/num_cpus/fixtures
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /third_party/rust/num_cpus/fixtures
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'third_party/rust/num_cpus/fixtures')
-rw-r--r--third_party/rust/num_cpus/fixtures/cgroups/cgroups/ceil/cpu.cfs_period_us2
-rw-r--r--third_party/rust/num_cpus/fixtures/cgroups/cgroups/ceil/cpu.cfs_quota_us2
-rw-r--r--third_party/rust/num_cpus/fixtures/cgroups/cgroups/good/cpu.cfs_period_us2
-rw-r--r--third_party/rust/num_cpus/fixtures/cgroups/cgroups/good/cpu.cfs_quota_us2
-rw-r--r--third_party/rust/num_cpus/fixtures/cgroups/cgroups/zero-period/cpu.cfs_period_us2
-rw-r--r--third_party/rust/num_cpus/fixtures/cgroups/cgroups/zero-period/cpu.cfs_quota_us1
-rw-r--r--third_party/rust/num_cpus/fixtures/cgroups/proc/cgroups/cgroup3
-rw-r--r--third_party/rust/num_cpus/fixtures/cgroups/proc/cgroups/mountinfo8
-rw-r--r--third_party/rust/num_cpus/fixtures/cgroups/proc/cgroups/mountinfo_multi_opt8
-rw-r--r--third_party/rust/num_cpus/fixtures/cgroups/proc/cgroups/mountinfo_zero_opt8
-rw-r--r--third_party/rust/num_cpus/fixtures/cgroups2/cgroups/ceil/cpu.max1
-rw-r--r--third_party/rust/num_cpus/fixtures/cgroups2/cgroups/good/cpu.max1
-rw-r--r--third_party/rust/num_cpus/fixtures/cgroups2/cgroups/zero-period/cpu.max1
-rw-r--r--third_party/rust/num_cpus/fixtures/cgroups2/proc/cgroups/cgroup2
-rw-r--r--third_party/rust/num_cpus/fixtures/cgroups2/proc/cgroups/cgroup_multi3
-rw-r--r--third_party/rust/num_cpus/fixtures/cgroups2/proc/cgroups/mountinfo5
16 files changed, 51 insertions, 0 deletions
diff --git a/third_party/rust/num_cpus/fixtures/cgroups/cgroups/ceil/cpu.cfs_period_us b/third_party/rust/num_cpus/fixtures/cgroups/cgroups/ceil/cpu.cfs_period_us
new file mode 100644
index 0000000000..022f514ba1
--- /dev/null
+++ b/third_party/rust/num_cpus/fixtures/cgroups/cgroups/ceil/cpu.cfs_period_us
@@ -0,0 +1,2 @@
+100000
+
diff --git a/third_party/rust/num_cpus/fixtures/cgroups/cgroups/ceil/cpu.cfs_quota_us b/third_party/rust/num_cpus/fixtures/cgroups/cgroups/ceil/cpu.cfs_quota_us
new file mode 100644
index 0000000000..cb2bf3ec7a
--- /dev/null
+++ b/third_party/rust/num_cpus/fixtures/cgroups/cgroups/ceil/cpu.cfs_quota_us
@@ -0,0 +1,2 @@
+150000
+
diff --git a/third_party/rust/num_cpus/fixtures/cgroups/cgroups/good/cpu.cfs_period_us b/third_party/rust/num_cpus/fixtures/cgroups/cgroups/good/cpu.cfs_period_us
new file mode 100644
index 0000000000..022f514ba1
--- /dev/null
+++ b/third_party/rust/num_cpus/fixtures/cgroups/cgroups/good/cpu.cfs_period_us
@@ -0,0 +1,2 @@
+100000
+
diff --git a/third_party/rust/num_cpus/fixtures/cgroups/cgroups/good/cpu.cfs_quota_us b/third_party/rust/num_cpus/fixtures/cgroups/cgroups/good/cpu.cfs_quota_us
new file mode 100644
index 0000000000..16e37df1d1
--- /dev/null
+++ b/third_party/rust/num_cpus/fixtures/cgroups/cgroups/good/cpu.cfs_quota_us
@@ -0,0 +1,2 @@
+600000
+
diff --git a/third_party/rust/num_cpus/fixtures/cgroups/cgroups/zero-period/cpu.cfs_period_us b/third_party/rust/num_cpus/fixtures/cgroups/cgroups/zero-period/cpu.cfs_period_us
new file mode 100644
index 0000000000..77ac542d4f
--- /dev/null
+++ b/third_party/rust/num_cpus/fixtures/cgroups/cgroups/zero-period/cpu.cfs_period_us
@@ -0,0 +1,2 @@
+0
+
diff --git a/third_party/rust/num_cpus/fixtures/cgroups/cgroups/zero-period/cpu.cfs_quota_us b/third_party/rust/num_cpus/fixtures/cgroups/cgroups/zero-period/cpu.cfs_quota_us
new file mode 100644
index 0000000000..26f3b3ddf2
--- /dev/null
+++ b/third_party/rust/num_cpus/fixtures/cgroups/cgroups/zero-period/cpu.cfs_quota_us
@@ -0,0 +1 @@
+600000
diff --git a/third_party/rust/num_cpus/fixtures/cgroups/proc/cgroups/cgroup b/third_party/rust/num_cpus/fixtures/cgroups/proc/cgroups/cgroup
new file mode 100644
index 0000000000..a47f047247
--- /dev/null
+++ b/third_party/rust/num_cpus/fixtures/cgroups/proc/cgroups/cgroup
@@ -0,0 +1,3 @@
+12:perf_event:/
+11:cpu,cpuacct:/
+3:devices:/user.slice
diff --git a/third_party/rust/num_cpus/fixtures/cgroups/proc/cgroups/mountinfo b/third_party/rust/num_cpus/fixtures/cgroups/proc/cgroups/mountinfo
new file mode 100644
index 0000000000..37f4e25359
--- /dev/null
+++ b/third_party/rust/num_cpus/fixtures/cgroups/proc/cgroups/mountinfo
@@ -0,0 +1,8 @@
+1 0 8:1 / / rw,noatime shared:1 - ext4 /dev/sda1 rw,errors=remount-ro,data=reordered
+2 1 0:1 / /dev rw,relatime shared:2 - devtmpfs udev rw,size=10240k,nr_inodes=16487629,mode=755
+3 1 0:2 / /proc rw,nosuid,nodev,noexec,relatime shared:3 - proc proc rw
+4 1 0:3 / /sys rw,nosuid,nodev,noexec,relatime shared:4 - sysfs sysfs rw
+5 4 0:4 / /sys/fs/cgroup ro,nosuid,nodev,noexec shared:5 - tmpfs tmpfs ro,mode=755
+6 5 0:5 / /sys/fs/cgroup/cpuset rw,nosuid,nodev,noexec,relatime shared:6 - cgroup cgroup rw,cpuset
+7 5 0:6 / /sys/fs/cgroup/cpu,cpuacct rw,nosuid,nodev,noexec,relatime shared:7 - cgroup cgroup rw,cpu,cpuacct
+8 5 0:7 / /sys/fs/cgroup/memory rw,nosuid,nodev,noexec,relatime shared:8 - cgroup cgroup rw,memory
diff --git a/third_party/rust/num_cpus/fixtures/cgroups/proc/cgroups/mountinfo_multi_opt b/third_party/rust/num_cpus/fixtures/cgroups/proc/cgroups/mountinfo_multi_opt
new file mode 100644
index 0000000000..e03a95b425
--- /dev/null
+++ b/third_party/rust/num_cpus/fixtures/cgroups/proc/cgroups/mountinfo_multi_opt
@@ -0,0 +1,8 @@
+1 0 8:1 / / rw,noatime shared:1 - ext4 /dev/sda1 rw,errors=remount-ro,data=reordered
+2 1 0:1 / /dev rw,relatime shared:2 - devtmpfs udev rw,size=10240k,nr_inodes=16487629,mode=755
+3 1 0:2 / /proc rw,nosuid,nodev,noexec,relatime shared:3 - proc proc rw
+4 1 0:3 / /sys rw,nosuid,nodev,noexec,relatime shared:4 - sysfs sysfs rw
+5 4 0:4 / /sys/fs/cgroup ro,nosuid,nodev,noexec shared:5 - tmpfs tmpfs ro,mode=755
+6 5 0:5 / /sys/fs/cgroup/cpuset rw,nosuid,nodev,noexec,relatime shared:6 - cgroup cgroup rw,cpuset
+7 5 0:6 / /sys/fs/cgroup/cpu,cpuacct rw,nosuid,nodev,noexec,relatime shared:7 shared:8 shared:9 - cgroup cgroup rw,cpu,cpuacct
+8 5 0:7 / /sys/fs/cgroup/memory rw,nosuid,nodev,noexec,relatime shared:8 - cgroup cgroup rw,memory
diff --git a/third_party/rust/num_cpus/fixtures/cgroups/proc/cgroups/mountinfo_zero_opt b/third_party/rust/num_cpus/fixtures/cgroups/proc/cgroups/mountinfo_zero_opt
new file mode 100644
index 0000000000..ad27a964f3
--- /dev/null
+++ b/third_party/rust/num_cpus/fixtures/cgroups/proc/cgroups/mountinfo_zero_opt
@@ -0,0 +1,8 @@
+1 0 8:1 / / rw,noatime shared:1 - ext4 /dev/sda1 rw,errors=remount-ro,data=reordered
+2 1 0:1 / /dev rw,relatime shared:2 - devtmpfs udev rw,size=10240k,nr_inodes=16487629,mode=755
+3 1 0:2 / /proc rw,nosuid,nodev,noexec,relatime shared:3 - proc proc rw
+4 1 0:3 / /sys rw,nosuid,nodev,noexec,relatime shared:4 - sysfs sysfs rw
+5 4 0:4 / /sys/fs/cgroup ro,nosuid,nodev,noexec shared:5 - tmpfs tmpfs ro,mode=755
+6 5 0:5 / /sys/fs/cgroup/cpuset rw,nosuid,nodev,noexec,relatime shared:6 - cgroup cgroup rw,cpuset
+7 5 0:6 / /sys/fs/cgroup/cpu,cpuacct rw,nosuid,nodev,noexec,relatime - cgroup cgroup rw,cpu,cpuacct
+8 5 0:7 / /sys/fs/cgroup/memory rw,nosuid,nodev,noexec,relatime shared:8 - cgroup cgroup rw,memory
diff --git a/third_party/rust/num_cpus/fixtures/cgroups2/cgroups/ceil/cpu.max b/third_party/rust/num_cpus/fixtures/cgroups2/cgroups/ceil/cpu.max
new file mode 100644
index 0000000000..833a8f2d3b
--- /dev/null
+++ b/third_party/rust/num_cpus/fixtures/cgroups2/cgroups/ceil/cpu.max
@@ -0,0 +1 @@
+150000 100000
diff --git a/third_party/rust/num_cpus/fixtures/cgroups2/cgroups/good/cpu.max b/third_party/rust/num_cpus/fixtures/cgroups2/cgroups/good/cpu.max
new file mode 100644
index 0000000000..e469067a61
--- /dev/null
+++ b/third_party/rust/num_cpus/fixtures/cgroups2/cgroups/good/cpu.max
@@ -0,0 +1 @@
+600000 100000
diff --git a/third_party/rust/num_cpus/fixtures/cgroups2/cgroups/zero-period/cpu.max b/third_party/rust/num_cpus/fixtures/cgroups2/cgroups/zero-period/cpu.max
new file mode 100644
index 0000000000..24e757f51c
--- /dev/null
+++ b/third_party/rust/num_cpus/fixtures/cgroups2/cgroups/zero-period/cpu.max
@@ -0,0 +1 @@
+600000 0
diff --git a/third_party/rust/num_cpus/fixtures/cgroups2/proc/cgroups/cgroup b/third_party/rust/num_cpus/fixtures/cgroups2/proc/cgroups/cgroup
new file mode 100644
index 0000000000..35b49db2c0
--- /dev/null
+++ b/third_party/rust/num_cpus/fixtures/cgroups2/proc/cgroups/cgroup
@@ -0,0 +1,2 @@
+12::/
+3::/user.slice
diff --git a/third_party/rust/num_cpus/fixtures/cgroups2/proc/cgroups/cgroup_multi b/third_party/rust/num_cpus/fixtures/cgroups2/proc/cgroups/cgroup_multi
new file mode 100644
index 0000000000..1a9282a6e4
--- /dev/null
+++ b/third_party/rust/num_cpus/fixtures/cgroups2/proc/cgroups/cgroup_multi
@@ -0,0 +1,3 @@
+12::/
+11:cpu,cpuacct:/
+3::/user.slice
diff --git a/third_party/rust/num_cpus/fixtures/cgroups2/proc/cgroups/mountinfo b/third_party/rust/num_cpus/fixtures/cgroups2/proc/cgroups/mountinfo
new file mode 100644
index 0000000000..da36e4102f
--- /dev/null
+++ b/third_party/rust/num_cpus/fixtures/cgroups2/proc/cgroups/mountinfo
@@ -0,0 +1,5 @@
+1 0 8:1 / / rw,noatime shared:1 - ext4 /dev/sda1 rw,errors=remount-ro,data=reordered
+2 1 0:1 / /dev rw,relatime shared:2 - devtmpfs udev rw,size=10240k,nr_inodes=16487629,mode=755
+3 1 0:2 / /proc rw,nosuid,nodev,noexec,relatime shared:3 - proc proc rw
+4 1 0:3 / /sys rw,nosuid,nodev,noexec,relatime shared:4 - sysfs sysfs rw
+5 4 0:4 / /sys/fs/cgroup rw,nosuid,nodev,noexec,relatime shared:5 - cgroup2 cgroup2 rw,nsdelegate,memory_recursiveprot