From owner-freebsd-current@FreeBSD.ORG Fri Apr 3 02:43:07 2009 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 718D0106564A for ; Fri, 3 Apr 2009 02:43:07 +0000 (UTC) (envelope-from joseph.koshy@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.168]) by mx1.freebsd.org (Postfix) with ESMTP id 4679D8FC15 for ; Fri, 3 Apr 2009 02:43:07 +0000 (UTC) (envelope-from joseph.koshy@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so863013wfg.7 for ; Thu, 02 Apr 2009 19:43:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=eN2BD4wOWTnvXkGb3+/dqwiHU1zItB0UJvOpdSRrkTc=; b=BPSqhoOlMDw9ft9qrEXdz9q45i5DjNsoYzQlmA3fNgCI9iNrmvAlzXnXtrbSFx12z0 Q/SB1k10wr7k+zY/FYLoHky8yEECrgvtsHIyIOygvbtJ5lh56rLMnCsD4zHj1YMRGKcL UVgLYugW0bGS6LcIIhwv8RcQDxnjChOmfsQFU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=c4qjQSHsBOGB2RYElh5QbzhklMjHr/3n1MZQucCm2iu4gwBeUSNQ/+1+szvctL0hJl fBtO+HArzg6D+K35JCDyFDIh4vIjVjSkfGU8k4qEWWIrcW/Xxb5KpPJSeyhfQzJ1szTH CxSHu+sBenZZ9sy51g5z/k8ckrMQi2ufVEt6k= MIME-Version: 1.0 Received: by 10.142.11.20 with SMTP id 20mr163323wfk.197.1238724789796; Thu, 02 Apr 2009 19:13:09 -0700 (PDT) In-Reply-To: <4451ccf20904010038p64ed2540mec3249f89bb7b8c2@mail.gmail.com> References: <4451ccf20904010038p64ed2540mec3249f89bb7b8c2@mail.gmail.com> Date: Fri, 3 Apr 2009 07:43:09 +0530 Message-ID: <84dead720904021913t1f1c27dasd942c50213e2a83a@mail.gmail.com> From: Joseph Koshy To: =?ISO-2022-JP?B?GyRCVkM0ZBsoQmNjdWl5eWFuQHNpbmEuY29t?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: Performance Tools in FreeBSD 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: Fri, 03 Apr 2009 02:43:07 -0000 > However, PMC seems not to be supported in AMD Opteron CPU because i > get a "invalid arguments" error when > > i use the command pmcstat -S instructions -O . However, > "instructions, cycles,..." are documented in > > pmc manual. By the way, I enable the options in configuration file > options HWPMC_HOOKS and device hwpmc. What kind of CPU do you have? Are there any messages from hwpmc(4) when it initializes? Koshy