btreplay: use sysconf to get the number of configured cpus

We should use the standard methods for getting the number of cpus in the
system when they are available.  It is good practice to leave the old ways in
place for people stuck on older systems.

Cc: Jens Axboe <>
Signed-off-by: Nathan Zimmer <>
Signed-off-by: Jens Axboe <>
1 file changed