From owner-freebsd-current@FreeBSD.ORG Tue Jul 12 21:28:00 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 923851065670 for ; Tue, 12 Jul 2011 21:28:00 +0000 (UTC) (envelope-from inyaoo@gmail.com) Received: from mail-fx0-f44.google.com (mail-fx0-f44.google.com [209.85.161.44]) by mx1.freebsd.org (Postfix) with ESMTP id 2046F8FC12 for ; Tue, 12 Jul 2011 21:27:59 +0000 (UTC) Received: by fxe6 with SMTP id 6so4411566fxe.17 for ; Tue, 12 Jul 2011 14:27:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; bh=LgYIGfXW6+ciplWou1Qe11kVOLed6NKNm2yUPylVErA=; b=qnyfzw4Is5/viCufA6nqGL4/UySE+g0pPgwqm2TgHMnvAFeM/cKzDh00+FG0EQH7kp A5yOK4/c048Niul2WseRW5lCiEUOdMQZBrHIh3VKOpFFlzSWrlMkSKnTJVYX5qtB01oM wjqvI6F6ZWWwYmkt7izYbeA9mpWWpU5DQXD7Q= Received: by 10.223.17.68 with SMTP id r4mr534531faa.62.1310506078727; Tue, 12 Jul 2011 14:27:58 -0700 (PDT) Received: from localhost (c-66-31-196-160.hsd1.nh.comcast.net [66.31.196.160]) by mx.google.com with ESMTPS id h28sm10110632faj.29.2011.07.12.14.27.55 (version=SSLv3 cipher=OTHER); Tue, 12 Jul 2011 14:27:57 -0700 (PDT) From: Pan Tsu To: freebsd-current@freebsd.org Date: Wed, 13 Jul 2011 01:27:43 +0400 Message-ID: <8639ib1968.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Subject: 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:28:00 -0000 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? 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.