Tests: use configured processor count in snapshot tests
[lttng-tools.git] / tests / regression / tools / snapshots / ust_test
index e839b84bfa364590e8fb054cbf3791939b3587bb..0b8bb24e95b001f39fb9d241fc1c70a770804861 100755 (executable)
@@ -182,7 +182,7 @@ function test_ust_local_snapshot ()
 function test_ust_local_snapshot_max_size ()
 {
        subbuf_size=8192
-       num_cpus=`nproc`
+       num_cpus=$(conf_proc_count)
 
        # The minimum size limit is min(subbuf_size) * nb_streams
        max_size=$(($subbuf_size*$num_cpus))
This page took 0.025244 seconds and 4 git commands to generate.