ad898517ac
This patch adds the sprofdiff tool, which compares two sets of profiling output files. It sorts processes and symbols by difference in average number of samples, placing those that took more time on the left first and those that took more time on the right last. If multiple runs are combined, a standard deviation is computed and this is used to compute the significance level, which gives an indication of which differences are likely to be due to chance. This tool is run not on the raw profiling files, but on the output of sprofalyze -d (a new option). Though having to use two tools and an intermediate file seems a bit awkward, the advantage is that the original source tree is not needed to resolve the symbols. For comparisons, this is very useful. Also, the intermediate file is in a text format that can easily be processed by scripts, which may be useful for other purposes as well.
44 lines
1.5 KiB
Makefile
44 lines
1.5 KiB
Makefile
# Makefile for commands.
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
SUBDIR= add_route arp ash at \
|
|
backup badblocks banner basename \
|
|
btrace cal \
|
|
cawf cd cdprobe checkhier cpp \
|
|
chmod chown ci cksum cleantmp clear cmp co \
|
|
comm compress cp crc cron crontab cut \
|
|
dd decomp16 DESCRIBE dev2name devmand devsize df dhcpd \
|
|
dhrystone diff dirname diskctl dumpcore \
|
|
eject elvis env expand factor fbdctl \
|
|
find finger fingerd fix fold format fortune fsck.mfs \
|
|
ftp101 gcore gcov-pull getty grep head hexdump host \
|
|
hostaddr id ifconfig ifdef \
|
|
intr ipcrm ipcs irdpd isoread join kill last \
|
|
less loadkeys loadramdisk logger look lp \
|
|
lpd ls lspci mail MAKEDEV \
|
|
mesg mined mkfifo mknod \
|
|
mkproto mount mt netconf nice acknm nohup \
|
|
nonamed od paste patch pax \
|
|
ping postinstall poweroff pr prep printf printroot \
|
|
profile progressbar pr_routes ps pwd pwdauth \
|
|
ramdisk rarpd rawspeed rcp rdate readall readclock \
|
|
reboot remsync rev rget rlogin \
|
|
rotate rsh rshd service setup shar acksize \
|
|
sleep slip sort spell split sprofalyze sprofdiff srccrc \
|
|
stty sum svclog svrctl swifi sync synctree sysenv \
|
|
syslogd tail tar tcpd tcpdp tcpstat tee telnet \
|
|
telnetd term termcap tget time touch tr \
|
|
truncate tsort tty udpstat umount uname unexpand \
|
|
unstack update uud uue version vol wc \
|
|
whereis which who write writeisofs fetch \
|
|
xargs yes zdump zmodem pkgin_cd \
|
|
worldstone updateboot update_bootcfg
|
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
|
SUBDIR+= atnormalize dosread fdisk loadfont \
|
|
autopart part partition playwave \
|
|
recwave repartition screendump
|
|
.endif
|
|
|
|
.include <bsd.subdir.mk>
|