2011/7/12 Pan Tsu <inyaoo_at_gmail.com>: > pmcstat(8) stopped to work for me after largeSMP landed in r222813. > At the time only pmccontrol(8) was updated. Then the next day > machdep.hlt_cpus was ripped out. So, I've assumed it's going to > be fixed by subsequent commits and commented out related code locally. > > $ qemu -smp 2 -nographic ... > $ kldload hwpmc > $ pmcstat -S instructions -T > pmcstat: ERROR: Cannot determine which CPUs are halted: No such file or directory > Exit 71 Hey Pan, do you think you can try the following patch?: http://www.freebsd.org/~attilio/pmcstat_cpumask.diff This should fix pmcstat for correctly using cpuset_t rather than custom 32 bit integers. Thanks, Attilio -- Peace can only be achieved by understanding - A. EinsteinReceived on Wed Aug 03 2011 - 12:32:51 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:16 UTC