Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src/usr.bin/pmc Pull up revision 1.5 (requested by gmcgarry...
details: https://anonhg.NetBSD.org/src/rev/d8b2870f666f
branches: netbsd-1-6
changeset: 527847:d8b2870f666f
user: tv <tv%NetBSD.org@localhost>
date: Mon Jun 10 17:15:32 2002 +0000
description:
Pull up revision 1.5 (requested by gmcgarry in ticket #230):
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.
diffstat:
usr.bin/pmc/pmc.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r ae6189ebe242 -r d8b2870f666f usr.bin/pmc/pmc.c
--- a/usr.bin/pmc/pmc.c Mon Jun 10 17:14:46 2002 +0000
+++ b/usr.bin/pmc/pmc.c Mon Jun 10 17:15:32 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmc.c,v 1.4 2002/01/03 05:04:52 briggs Exp $ */
+/* $NetBSD: pmc.c,v 1.4.2.1 2002/06/10 17:15:32 tv Exp $ */
/*
* Copyright 2000 Wasabi Systems, Inc.
@@ -280,7 +280,7 @@
usage();
if (i386_pmc_info(&pi) < 0)
- err(2, "pmc_info");
+ errx(2, "PMC support is not compiled into the kernel");
if (pi.type != PMC_TYPE_I686)
errx(3, "only 686 counters are supported");
Home |
Main Index |
Thread Index |
Old Index