Do not match "CPU(s) scaling MHz:" line, it breaks the script.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Ifa392d018590e098dae75acef2b8265c8714c4cb
__lttng_ust_fd_plibc_fclose);
}
+/* Old libc headers don't contain a close_range() declaration. */
+int close_range(unsigned int first, unsigned int last, int flags);
+
/*
* Override the libc close_range() symbol with our own, allowing
* applications to close arbitrary file descriptors. If the fd is owned
: ${ITERS:=10}
: ${DURATION:=2}
: ${NR_THREADS:=1}
-: ${NR_CPUS:=$(lscpu | grep "^CPU(s)" | sed 's/^.*:[ \t]*//g')}
+: ${NR_CPUS:=$(lscpu | grep "^CPU(s):" | sed 's/^.*:[ \t]*//g')}
: ${TIME:="./$CURDIR/ptime"}