Re: Why is PCE not set in CR4?
From: Bruce M Simpson (bms_at_spc.org)
Date: 10/01/03
- Previous message: Andreas Kohn: "Re: Using hp surestore dat 24 tape drive with Free BSD 4.8"
- In reply to: Grumble: "Re: Why is PCE not set in CR4?"
- Next in thread: Terry Lambert: "Re: Why is PCE not set in CR4?"
- Reply: Terry Lambert: "Re: Why is PCE not set in CR4?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 1 Oct 2003 12:41:56 +0100 To: Grumble <invalid@kma.eu.org>
On Wed, Oct 01, 2003 at 11:39:36AM +0200, Grumble wrote:
> >>However, I am not allowed to use the RDPMC instruction from ring 3
> >>because the PCE (Performance-monitoring Counters Enable) bit is not set.
> >
> >You can do it with /dev/perfmon. man 4 perfmon.
>
> I have read the perfmon documentation and source code. For several
> reasons, I do not think it is totally adequate in my situation.
[snip]
Hi,
Eat this. Diff attached. Test this and I'll commit it to -CURRENT if you're
happy with it. If you can tell me more about what perfmon needs I'll give
it love too.
This is an extension to the i386_vm86() syscall which will let you turn
PCE on and off if you're the superuser.
BMS
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
- text/plain attachment: i386pce.col.diff
- Previous message: Andreas Kohn: "Re: Using hp surestore dat 24 tape drive with Free BSD 4.8"
- In reply to: Grumble: "Re: Why is PCE not set in CR4?"
- Next in thread: Terry Lambert: "Re: Why is PCE not set in CR4?"
- Reply: Terry Lambert: "Re: Why is PCE not set in CR4?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]