Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/pmc Due to a typo, the kernel and user counters were...
details: https://anonhg.NetBSD.org/src/rev/07bdeae11a7f
branches: trunk
changeset: 520118:07bdeae11a7f
user: briggs <briggs%NetBSD.org@localhost>
date: Thu Jan 03 05:04:52 2002 +0000
description:
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.
diffstat:
usr.bin/pmc/pmc.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 7f341fe90c5c -r 07bdeae11a7f usr.bin/pmc/pmc.c
--- a/usr.bin/pmc/pmc.c Thu Jan 03 04:34:21 2002 +0000
+++ b/usr.bin/pmc/pmc.c Thu Jan 03 05:04:52 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmc.c,v 1.3 2001/12/31 18:38:32 thorpej Exp $ */
+/* $NetBSD: pmc.c,v 1.4 2002/01/03 05:04:52 briggs Exp $ */
/*
* Copyright 2000 Wasabi Systems, Inc.
@@ -291,7 +291,7 @@
pss0.flags = PMC_SETUP_USER;
pss0.counter = 0;
pss1.flags = PMC_SETUP_KERNEL;
- pss0.counter = 1;
+ pss1.counter = 1;
/*
* XXX should catch signals and tidy up in the parent.
Home |
Main Index |
Thread Index |
Old Index