X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Ftrigger%2Fhidden%2Fhidden_trigger.c;fp=tests%2Fregression%2Ftools%2Ftrigger%2Fhidden%2Fhidden_trigger.c;h=8edd97ab2a22f2f79cb48efc886d2d2d37979489;hp=5395dd22441cd94e744dcf935c5f5b5102baf6c8;hb=81663f073dbfb4b61c06a0ceb8ca33c4fc41b1c5;hpb=1cbd136b2479ef142bfb339b13d3d25aa772dda5 diff --git a/tests/regression/tools/trigger/hidden/hidden_trigger.c b/tests/regression/tools/trigger/hidden/hidden_trigger.c index 5395dd224..8edd97ab2 100644 --- a/tests/regression/tools/trigger/hidden/hidden_trigger.c +++ b/tests/regression/tools/trigger/hidden/hidden_trigger.c @@ -70,7 +70,7 @@ int setup_session_with_size_rotation_schedule(const char *session_output_path) .name = TEST_CHANNEL_NAME, .enabled = 1, .attr.overwrite = -1, - .attr.subbuf_size = sysconf(_SC_PAGESIZE) * 8, + .attr.subbuf_size = sysconf(_SC_PAGE_SIZE) * 8, .attr.num_subbuf = 8, .attr.output = LTTNG_EVENT_MMAP, }; @@ -123,7 +123,7 @@ int setup_session_with_size_rotation_schedule(const char *session_output_path) * time. */ rotation_status = lttng_rotation_schedule_size_threshold_set_threshold( - rotation_schedule, sysconf(_SC_PAGESIZE) * 4096); + rotation_schedule, sysconf(_SC_PAGE_SIZE) * 4096); if (rotation_status != LTTNG_ROTATION_STATUS_OK) { fail("Failed to set size threshold of session rotation schedule"); ret = -1;