Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jul 2011 00:49:11 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Pan Tsu <inyaoo@gmail.com>, freebsd-current@FreeBSD.org
Subject:   Re: pmcstat(8) and machdep.hlt_cpus
Message-ID:  <4E1CC157.800@FreeBSD.org>
In-Reply-To: <8639ib1968.fsf@gmail.com>
References:  <8639ib1968.fsf@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
on 13/07/2011 00:27 Pan Tsu said the following:
> 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
> 
> A month passed, nothing changed. Am I doing smth wrong?

Only one thing - waiting one month before reporting a regression...

> FWIW, smp(4) still documents machdep.hlt_cpus and machdep.hlt_logical_cpus.
> It should probably be updated with hint.lapic.X.disabled from UPDATING.

Yes.

Thank you for the reports.
-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E1CC157.800>