From owner-freebsd-hackers@freebsd.org Wed May 10 15:55:15 2017 Return-Path: Delivered-To: freebsd-hackers@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 8928ED67304 for ; Wed, 10 May 2017 15:55:15 +0000 (UTC) (envelope-from rcarter@pinyon.org) Received: from h2.pinyon.org (h2.pinyon.org [65.101.20.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 66ADC1783 for ; Wed, 10 May 2017 15:55:14 +0000 (UTC) (envelope-from rcarter@pinyon.org) Received: by h2.pinyon.org (Postfix, from userid 58) id 4AE882140B; Wed, 10 May 2017 08:45:54 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pinyon.org; s=DKIM; t=1494431154; bh=JAbfKqseJTXLGeB1BTr9PGD2117PsM2rujImVNQNwbk=; h=To:From:Subject:Date; b=WI79y1y6MS1gH8RP9grc46LFQi/eXlskDIMQRJ1AhChe1I3NzZ1/KTPAqiKLAclL1 aRYKMWGRPM+ISTxBOJRMslZGhnkz6WNpdy4n4WETJhZAzDjREfGzapb1WHi+ukS6RC nf+UaAdeGZOyxhu3mjCCRVkWGwRSw9tYNu5fp6Ko= X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on h2.n1.pinyon.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.1 Received: from [10.0.10.15] (h1.pinyon.org [65.101.20.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by h2.pinyon.org (Postfix) with ESMTPSA id B355C213FB for ; Wed, 10 May 2017 08:45:53 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pinyon.org; s=DKIM; t=1494431153; bh=JAbfKqseJTXLGeB1BTr9PGD2117PsM2rujImVNQNwbk=; h=To:From:Subject:Date; b=EP6sty/WL93oAMtHiK6JrsWTse/vBv234fYmmABl/1cYunOs4GiXMQTOu115iB8Nu Ye4JZmKHR1/1ucv+2hGpFPxZYOuDdInAV9ZBSqx4Q7FXsT1NpAeEjeUrsmPK6Ma6UI kMuz0cjRFyFi8T5E3DMnIBWsSA1hXnm9qfY2jXfc= To: freebsd-hackers@freebsd.org From: "Russell L. Carter" Subject: hardware performance monitoring counters Message-ID: Date: Wed, 10 May 2017 08:45:53 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 May 2017 15:55:15 -0000 Greetings, I'd like to use the PMC capabilities, but I seem to have a misconfiguration: root@bruno> pmccontrol -l pmccontrol: Initialization of the pmc(3) library failed: No such file or directory In my kernel conf directory: root@bruno> grep -i pmc * [...] RLCBASE:options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) [...] Both amd and intel systems have the same error on fresh 11/stable amd64 systems. Mr. google turns up people having the same problem, but no solutions. Does anyone know how I might fix this? Thanks, Russell