From owner-freebsd-current@FreeBSD.ORG Tue Jul 12 21:49:17 2011 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77A73106566C for ; Tue, 12 Jul 2011 21:49:17 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id C7A6C8FC17 for ; Tue, 12 Jul 2011 21:49:16 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id AAA21439; Wed, 13 Jul 2011 00:49:13 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1QgkpN-0000Sx-LR; Wed, 13 Jul 2011 00:49:13 +0300 Message-ID: <4E1CC157.800@FreeBSD.org> Date: Wed, 13 Jul 2011 00:49:11 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:5.0) Gecko/20110706 Thunderbird/5.0 MIME-Version: 1.0 To: Pan Tsu , freebsd-current@FreeBSD.org References: <8639ib1968.fsf@gmail.com> In-Reply-To: <8639ib1968.fsf@gmail.com> X-Enigmail-Version: 1.2pre Content-Type: text/plain; charset=x-viet-vps Content-Transfer-Encoding: 7bit Cc: Subject: Re: pmcstat(8) and machdep.hlt_cpus X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2011 21:49:17 -0000 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