Ticket #2278 (closed defect: fixed)

Opened 13 years ago

Last modified 12 years ago

Solaris performance counter library (libcpc) does not work correctly

Reported by: yukonm Owned by:
Component: other Version: VirtualBox 1.6.2
Keywords: Cc:
Guest type: Solaris Host type: other


The Solaris CPU performance counter library (libcpc) does not work correctly, yet also fails to return any error codes. If the CPU's performance counters cannot be used, libcpc should be notified so that it can return appropriate error codes.

For example, my host system had an AMD Opteron, so I attempted to use the cpu clock counter BU_cpu_clk_unhalted via the Solaris cputrack utility. When I did so, all zeros were reported indicating that Solaris was not actually getting access to the specified CPU counter.

> cputrack -c BU_cpu_clk_unhalted gzip core
   time lwp      event      pic0 
  1.017   1       tick         0 
  2.019   1       tick         0 
  3.026   1       tick         0 
  4.038   1       tick         0 
  5.029   1       tick         0 
  6.030   1       tick         0 
> uname -a
SunOS opensolaris 5.11 snv_86 i86pc i386 i86pc Solaris
> psrinfo -pv
The physical processor has 1 virtual processor (0)
  x86 (AuthenticAMD 20F71 family 15 model 39 step 1 clock 2613 MHz)
	AMD Opteron(tm) Processor 152

Change History

comment:1 Changed 12 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

Please retry with VBox 2.2.0 and reopen if the problem persists.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use