csdr
csdr copied to clipboard
minor cleanups to make it more cross platform
trafficstars
Uses list_cpu_features instead to get CPU features. Calling /proc/cpuinfo is a bad linuxism as lots of systems don't use that.
Use /usr/bin/env to invoke python2 instead of staticly coding the path. This avoids relying on a system installing python2 /usr/bin.
Also went and updated csdr.c to use CLOCK_MONOTONIC_FAST on FreeBSD.
env_csdr_dynamic_bufsize_on is now set to 1 and setting the pipe size on FreeBSD is now #ifed out.