Commit Graph

17 Commits

Author SHA1 Message Date
lukem
af17a5d8f3 fix -Wsign-compare issues 2009-01-18 07:05:53 +00:00
perry
8b0f9554ff convert __attribute__s to applicable cdefs.h macros 2007-12-15 19:44:37 +00:00
christos
b9cc3c0e19 - add volatile
- fix an missing initializer.
2006-10-22 16:25:19 +00:00
christos
e90cb419e0 Coverity CID 2355: Checking event for NULL is supefluous; restructure the
code to make this obvious.
2006-04-09 18:57:10 +00:00
christos
347d6ce9be Pass lint. Also fix errx/err confusion. 2006-04-09 18:54:28 +00:00
lukem
458eb38666 Improve argument error checking.
Detected with -Wuninitialized.
2005-06-02 02:14:58 +00:00
jmmv
b635f565e7 Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
2004-01-05 23:23:32 +00:00
agc
a8d6388e6f Add NetBSD RCS Ids. 2003-06-23 13:05:47 +00:00
yamt
729dff3dfb fix coredump when "command" is omitted. 2002-10-16 10:40:17 +00:00
gmcgarry
074387420c Some more Athlon counter names. 2002-06-07 05:26:45 +00:00
gmcgarry
009583c02c Athlon support. 2002-06-07 04:07:08 +00:00
gmcgarry
f44a386b6f Support i586 counters. 2002-06-07 01:38:17 +00:00
gmcgarry
616df6150d The most likely failure of i386_pmc_info() is that the kernel doesn't
include PMC support.  Report this to the user to give a clue as to
why pmc(1) doesn't work.
2002-06-06 21:20:42 +00:00
briggs
6b6638f488 Due to a typo, the kernel and user counters were getting swapped. Make
sure that they are not, so kernel events are reported as kernel events,
and user events are reported as user events.
2002-01-03 05:04:52 +00:00
thorpej
5d537fa0b9 Need <string.h> for memset() and strcmp() prototypes (noticed by
gcc 3.1).
2001-12-31 18:38:32 +00:00
cgd
c2bdafab79 use getprogname() 2001-02-20 23:51:59 +00:00
thorpej
a74afa60d2 A program for reading performance counters for execution of
a command.  From Frank van der Linden <fvdl@wasabisystems.com>.
2000-10-24 23:54:31 +00:00