function test_ust_local_snapshot_max_size ()
{
page_size=`getconf PAGE_SIZE`
- num_cpus=`nproc`
+ num_cpus=$(conf_proc_count)
# The minimum subbuf size is the platform PAGE_SIZE
subbuf_size=$(($page_size*2))
function test_ust_per_uid_local_snapshot ()
{
- diag "Test local UST snapshots"
+ diag "Test per-uid local UST snapshots"
create_lttng_session_no_output $SESSION_NAME
enable_channel_per_uid_mmap_overwrite $SESSION_NAME $CHANNEL_NAME
enable_ust_lttng_event_ok $SESSION_NAME $EVENT_NAME $CHANNEL_NAME