From owner-freebsd-stable@freebsd.org Tue Feb 7 13:33:31 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 18D5BCD4EB0 for ; Tue, 7 Feb 2017 13:33:31 +0000 (UTC) (envelope-from derrick.mckee@gmail.com) Received: from mail-ua0-x22d.google.com (mail-ua0-x22d.google.com [IPv6:2607:f8b0:400c:c08::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D186695A for ; Tue, 7 Feb 2017 13:33:30 +0000 (UTC) (envelope-from derrick.mckee@gmail.com) Received: by mail-ua0-x22d.google.com with SMTP id i68so84360017uad.0 for ; Tue, 07 Feb 2017 05:33:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=/WH4K50LeKSO3uKE9qg7f6n5/Hwnx8FqrGSUNKfZXiY=; b=KZUIROY1UzLQbyPP88tvewlHpXeaQ58BbRn+E/GP1hnMFUR8svV9OqXXYYqUHzPvrv TVMBsQVKxro005QmpoCxUrCiZmyTn9xRLl0O3pJlGKjEyCGKks+gMErtpwfNAu4Rty0S ut3t/rlLCYR/lp/LZRQRouNgF725z3OVF7EOZteCiyfccHfFMxiqGUWp0+curIE72hXk cAl64YQJvDnhsM9sUTeA1YpsqWTQT0SRXmAIL+tLKzEgv2d+Wbrz+Vth0dmegC8yG2qf FPTZd14wNSTQOd8EitccOgP5XmSBMMyf73araWzgeXW/K/fgPUf3Of2glGaCi3veRyQ/ nZfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=/WH4K50LeKSO3uKE9qg7f6n5/Hwnx8FqrGSUNKfZXiY=; b=DDZ8/+7WQ3AfGFswLY9HgFw50+9p29pwq1qmeW1TD4aq0i7yIoqfhb9FJa/GHwUHt7 wLBtUnTkVOEJTuzG+v5FRzaZAEBxNFhUCXmFj+C3A1HPzJIJUvodsve3fxeVzsD0TlOt UjER7ElbcMf/qZuDq+kjRDqgvyo/lFBtPIG0tGF7Q3/R/bryWl1trTed8cmkOQcwq2hh pPCdBBUWuzSH2VkG1oSGiV5d9yXXG4/ZxnNO1tuKIY+niHBqwcykxHRxPSnGKbNiT/Zs oZfRF+cTMYLvOa3G7/XY9JIzKidf1t703iw4gzrFM5p9xeyh8gwdPRDvDrcTorfLtZ+1 ieGQ== X-Gm-Message-State: AMke39mOiKmR2W7Ozjggwe93HqbDi8lDJz51sKmvHdR2CFE8pBr9F7UeS/YRTigc8QvX3arCEkySCRgLGg7L9Q== X-Received: by 10.176.6.202 with SMTP id g68mr8013394uag.34.1486474409561; Tue, 07 Feb 2017 05:33:29 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Derrick McKee Date: Tue, 07 Feb 2017 13:33:19 +0000 Message-ID: Subject: Bogus pwstat instruction count in guest OS To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Feb 2017 13:33:31 -0000 Hi, I am trying to count instructions executed for programs running in an 11.0 guest OS (Virtual Box is the hypervisor). However, pwstat is reporting obviously low numbers. Firefox, for example, is reporting ~7000 instructions when executing the Kraken benchmark. I've installed the emulator/virtualbox-ose-additions package, as well as put vboxguest_enable="YES" and vboxservice_enable="YES" in my /etc/rc.conf. After executing kldload hwpmc, dmesg reports hwpc_core: unknown PMC architecture: 0. Any ideas as to what could be the problem? Thanks. -- Derrick McKee Ph.D. Student at Purdue University -- Derrick McKee Ph.D. Student at Purdue University