Date: Wed, 3 Aug 2011 10:32:50 -0400 From: Attilio Rao <attilio@freebsd.org> To: Pan Tsu <inyaoo@gmail.com> Cc: George Neville-Neil <gnn@neville-neil.com>, freebsd-current@freebsd.org, Sergey Kandaurov <pluknet@freebsd.org>, Fabien Thomas <fabient@freebsd.org>, Andriy Gapon <avg@freebsd.org> Subject: Re: pmcstat(8) and machdep.hlt_cpus Message-ID: <CAJ-FndCLs59UCUtNBjFeanxQFkqGZVoWRnAS0GdXQ7d9-P-C7Q@mail.gmail.com> In-Reply-To: <8639ib1968.fsf@gmail.com> References: <8639ib1968.fsf@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
2011/7/12 Pan Tsu <inyaoo@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. > > =C2=A0$ qemu -smp 2 -nographic ... > =C2=A0$ kldload hwpmc > =C2=A0$ pmcstat -S instructions -T > =C2=A0pmcstat: ERROR: Cannot determine which CPUs are halted: No such fil= e or directory > =C2=A0Exit 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 --=20 Peace can only be achieved by understanding - A. Einstein
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-FndCLs59UCUtNBjFeanxQFkqGZVoWRnAS0GdXQ7d9-P-C7Q>