Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

supercop-20121016

  • Loading branch information...
commit 8a18eeaca1ff01e69300aa5efe800b028d145ce2 1 parent 718e2ce
Daniel J. Bernstein authored committed
Showing with 59 additions and 83 deletions.
  1. +5 −42 data-init
  2. +5 −40 do
  3. +48 −0 machineinfo/do
  4. +1 −1  version
View
47 data-init
@@ -26,48 +26,11 @@ exec 6>"$top/$abi/todo"
echo "=== `date` === starting data-init"
-echo "=== `date` === hostname"
-hostname || :
-echo "=== `date` === uname -a"
-uname -a || :
-echo "=== `date` === uname -M"
-uname -M || :
-echo "=== `date` === uname -F"
-uname -F || :
-echo "=== `date` === /usr/sbin/lscfg | grep proc"
-/usr/sbin/lscfg | grep proc || :
-echo "=== `date` === /usr/sbin/lsattr -El proc0"
-/usr/sbin/lsattr -El proc0 || :
-echo "=== `date` === cat /proc/cpuinfo"
-cat /proc/cpuinfo || :
-echo "=== `date` === grep . /dev/null
-/sys/devices/system/cpu/cpu*/topology/physical_package_id"
-grep . /dev/null /sys/devices/system/cpu/cpu*/topology/physical_package_id || :
-echo "=== `date` === grep . /dev/null /sys/devices/system/cpu/cpu*/topology/core_id"
-grep . /dev/null /sys/devices/system/cpu/cpu*/topology/core_id || :
-echo "=== `date` === grep . /dev/null
-/sys/devices/system/cpu/cpu*/topology/thread_siblings_list"
-grep . /dev/null /sys/devices/system/cpu/cpu*/topology/thread_siblings_list || :
-echo "=== `date` === grep . /dev/null /sys/devices/system/cpu/cpu*/online"
-grep . /dev/null /sys/devices/system/cpu/cpu*/online || :
-echo "=== `date` === grep . /dev/null /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_min_freq"
-grep . /dev/null /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_min_freq || :
-echo "=== `date` === grep . /dev/null /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_max_freq"
-grep . /dev/null /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_max_freq || :
-echo "=== `date` === grep . /dev/null /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor"
-grep . /dev/null /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor || :
-echo "=== `date` === grep . /dev/null /sys/devices/system/cpu/cpu*/cpufreq/scaling_setspeed"
-grep . /dev/null /sys/devices/system/cpu/cpu*/cpufreq/scaling_setspeed || :
-echo "=== `date` === grep . /dev/null /sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq"
-grep . /dev/null /sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq || :
-echo "=== `date` === grep . /dev/null /sys/devices/system/cpu/cpu*/clock_tick"
-grep . /dev/null /sys/devices/system/cpu/cpu*/clock_tick || :
-echo "=== `date` === sysctl hw.model"
-sysctl hw.model || :
-echo "=== `date` === sysctl machdep.tsc_freq"
-sysctl machdep.tsc_freq || :
-echo "=== `date` === /usr/sbin/psrinfo -v"
-/usr/sbin/psrinfo -v || :
+echo "=== `date` === building machineinfo"
+rm -rf "$top/machineinfo"
+mkdir -p "$top/machineinfo"
+cp -pr machineinfo/* "$top/machineinfo"
+( cd "$top/machineinfo" && sh do )
echo "=== `date` === building scripts"
rm -rf "$top/scripts"
View
45 do
@@ -47,46 +47,11 @@ exec </dev/null
echo "=== `date` === starting"
-echo "=== `date` === hostname"
-hostname || :
-echo "=== `date` === uname -a"
-uname -a || :
-echo "=== `date` === uname -M"
-uname -M || :
-echo "=== `date` === uname -F"
-uname -F || :
-echo "=== `date` === /usr/sbin/lscfg | grep proc"
-/usr/sbin/lscfg | grep proc || :
-echo "=== `date` === /usr/sbin/lsattr -El proc0"
-/usr/sbin/lsattr -El proc0 || :
-echo "=== `date` === cat /proc/cpuinfo"
-cat /proc/cpuinfo || :
-echo "=== `date` === grep . /dev/null /sys/devices/system/cpu/cpu*/topology/physical_package_id"
-grep . /dev/null /sys/devices/system/cpu/cpu*/topology/physical_package_id || :
-echo "=== `date` === grep . /dev/null /sys/devices/system/cpu/cpu*/topology/core_id"
-grep . /dev/null /sys/devices/system/cpu/cpu*/topology/core_id || :
-echo "=== `date` === grep . /dev/null /sys/devices/system/cpu/cpu*/topology/thread_siblings_list"
-grep . /dev/null /sys/devices/system/cpu/cpu*/topology/thread_siblings_list || :
-echo "=== `date` === grep . /dev/null /sys/devices/system/cpu/cpu*/online"
-grep . /dev/null /sys/devices/system/cpu/cpu*/online || :
-echo "=== `date` === grep . /dev/null /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_min_freq"
-grep . /dev/null /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_min_freq || :
-echo "=== `date` === grep . /dev/null /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_max_freq"
-grep . /dev/null /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_max_freq || :
-echo "=== `date` === grep . /dev/null /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor"
-grep . /dev/null /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor || :
-echo "=== `date` === grep . /dev/null /sys/devices/system/cpu/cpu*/cpufreq/scaling_setspeed"
-grep . /dev/null /sys/devices/system/cpu/cpu*/cpufreq/scaling_setspeed || :
-echo "=== `date` === grep . /dev/null /sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq"
-grep . /dev/null /sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq || :
-echo "=== `date` === grep . /dev/null /sys/devices/system/cpu/cpu*/clock_tick"
-grep . /dev/null /sys/devices/system/cpu/cpu*/clock_tick || :
-echo "=== `date` === sysctl hw.model"
-sysctl hw.model || :
-echo "=== `date` === sysctl machdep.tsc_freq"
-sysctl machdep.tsc_freq || :
-echo "=== `date` === /usr/sbin/psrinfo -v"
-/usr/sbin/psrinfo -v || :
+echo "=== `date` === building machineinfo"
+rm -rf "$work"
+mkdir -p "$work"
+cp -pr machineinfo/* "$work"
+( cd "$work" && sh do )
echo "=== `date` === building scripts"
cp -p scripts/* "$bin"
View
48 machineinfo/do
@@ -0,0 +1,48 @@
+#!/bin/sh
+
+echo "=== `date` === hostname"
+hostname || :
+
+echo "=== `date` === uname -a"
+uname -a || :
+echo "=== `date` === uname -M"
+uname -M || :
+echo "=== `date` === uname -F"
+uname -F || :
+
+echo "=== `date` === /usr/sbin/lscfg | grep proc"
+/usr/sbin/lscfg | grep proc || :
+echo "=== `date` === /usr/sbin/lsattr -El proc0"
+/usr/sbin/lsattr -El proc0 || :
+echo "=== `date` === cat /proc/cpuinfo"
+cat /proc/cpuinfo || :
+
+echo "=== `date` === grep . /dev/null /sys/devices/system/cpu/cpu*/topology/physical_package_id"
+grep . /dev/null /sys/devices/system/cpu/cpu*/topology/physical_package_id || :
+echo "=== `date` === grep . /dev/null /sys/devices/system/cpu/cpu*/topology/core_id"
+grep . /dev/null /sys/devices/system/cpu/cpu*/topology/core_id || :
+echo "=== `date` === grep . /dev/null /sys/devices/system/cpu/cpu*/topology/thread_siblings_list"
+grep . /dev/null /sys/devices/system/cpu/cpu*/topology/thread_siblings_list || :
+echo "=== `date` === grep . /dev/null /sys/devices/system/cpu/cpu*/online"
+grep . /dev/null /sys/devices/system/cpu/cpu*/online || :
+echo "=== `date` === grep . /dev/null /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_min_freq"
+grep . /dev/null /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_min_freq || :
+echo "=== `date` === grep . /dev/null /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_max_freq"
+grep . /dev/null /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_max_freq || :
+echo "=== `date` === grep . /dev/null /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor"
+grep . /dev/null /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor || :
+echo "=== `date` === grep . /dev/null /sys/devices/system/cpu/cpu*/cpufreq/scaling_setspeed"
+grep . /dev/null /sys/devices/system/cpu/cpu*/cpufreq/scaling_setspeed || :
+echo "=== `date` === grep . /dev/null /sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq"
+grep . /dev/null /sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq || :
+echo "=== `date` === grep . /dev/null /sys/devices/system/cpu/cpu*/cpufreq/cpb"
+grep . /dev/null /sys/devices/system/cpu/cpu*/cpufreq/cpb || :
+echo "=== `date` === grep . /dev/null /sys/devices/system/cpu/cpu*/clock_tick"
+grep . /dev/null /sys/devices/system/cpu/cpu*/clock_tick || :
+
+echo "=== `date` === sysctl hw.model"
+sysctl hw.model || :
+echo "=== `date` === sysctl machdep.tsc_freq"
+sysctl machdep.tsc_freq || :
+echo "=== `date` === /usr/sbin/psrinfo -v"
+/usr/sbin/psrinfo -v || :
View
2  version
@@ -1 +1 @@
-20120928
+20121016
Please sign in to comment.
Something went wrong with that request. Please try again.