From owner-freebsd-stable@FreeBSD.ORG Sun Dec 6 23:13:19 2009 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE30C106566C; Sun, 6 Dec 2009 23:13:19 +0000 (UTC) (envelope-from jeremie@le-hen.org) Received: from smtpfb1-g21.free.fr (smtpfb1-g21.free.fr [212.27.42.9]) by mx1.freebsd.org (Postfix) with ESMTP id A0BF98FC13; Sun, 6 Dec 2009 23:13:16 +0000 (UTC) Received: from smtp1-g21.free.fr (smtp1-g21.free.fr [212.27.42.1]) by smtpfb1-g21.free.fr (Postfix) with ESMTP id 7C9DE2E190; Sun, 6 Dec 2009 23:55:19 +0100 (CET) Received: from smtp1-g21.free.fr (localhost [127.0.0.1]) by smtp1-g21.free.fr (Postfix) with ESMTP id 1E3A4940096; Sun, 6 Dec 2009 23:55:11 +0100 (CET) Received: from endor.tataz.chchile.org (tataz.chchile.org [82.233.239.98]) by smtp1-g21.free.fr (Postfix) with ESMTP id 40ECE9400A4; Sun, 6 Dec 2009 23:55:09 +0100 (CET) Received: from felucia.tataz.chchile.org (felucia.tataz.chchile.org [192.168.1.9]) by endor.tataz.chchile.org (Postfix) with ESMTP id CD8FC33E79; Sun, 6 Dec 2009 22:55:08 +0000 (UTC) Received: by felucia.tataz.chchile.org (Postfix, from userid 1000) id 93838A1275; Sun, 6 Dec 2009 22:55:08 +0000 (UTC) Date: Sun, 6 Dec 2009 23:55:08 +0100 From: Jeremie Le Hen To: freebsd-stable@FreeBSD.org Message-ID: <20091206225508.GA5494@felucia.tataz.chchile.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Cc: jkoshy@FreeBSD.org, jeremie@le-hen.org Subject: Cannot allocate system-mode PMC with spec. "instructions" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2009 23:13:19 -0000 Hi list, Joseph, __ Please Cc: me when replying, as I'm not subscribed. __ I've tried to sample my system while performing a big copy between UFS to ZFS using the following command: % # pmcstat -v -S instructions -O $PWD/sample.out % pmcstat: ERROR: Cannot allocate system-mode pmc with specification "instructions": Invalid argument Oddly, other generic events lead to different errors: % obiwan:~/tmp# pmcstat -vv -S cycles -O $PWD/sample.out % pmcstat: ERROR: Cannot allocate system-mode pmc with specification "cycles": Operation not supported But for instance the following works: % obiwan:~/tmp# pmcstat -vv -S branches -O $PWD/sample.out % ^Cobiwan:~/tmp# pmcstat -R sample.out -g % CONVERSION STATISTICS: % #samples/total 3110 % #samples/unclaimed 87 % #callchain/dubious-frames 87 Additional useful informations are: % CPU: Intel(R) Core(TM)2 CPU 6320 @ 1.86GHz (1869.87-MHz 686-class CPU) % Origin = "GenuineIntel" Id = 0x6f6 Stepping = 6 % Features=0xbfebfbff % Features2=0xe3bd % AMD Features=0x20000000 % AMD Features2=0x1 % TSC: P-state invariant % hwpmc: TSC/1/64/0x20 IAP/2/40/0x3ff IAF/0/0/0x61 Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org >