From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932132AbWELPWH (ORCPT ); Fri, 12 May 2006 11:22:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932130AbWELPWH (ORCPT ); Fri, 12 May 2006 11:22:07 -0400 Received: from tayrelbas01.tay.hp.com ([161.114.80.244]:12493 "EHLO tayrelbas01.tay.hp.com") by vger.kernel.org with ESMTP id S932129AbWELPWF (ORCPT ); Fri, 12 May 2006 11:22:05 -0400 Date: Fri, 12 May 2006 08:15:37 -0700 From: Stephane Eranian To: perfmon@napali.hpl.hp.com Cc: linux-ia64@vger.kernel.org, perfctr-devel@lists.sourceforge.net, oprofile-list@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: 2.6.17-rc4 new perfmon code base + libpfm available Message-ID: <20060512151537.GA26310@frankl.hpl.hp.com> Reply-To: eranian@hpl.hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Organisation: HP Labs Palo Alto Address: HP Labs, 1U-17, 1501 Page Mill road, Palo Alto, CA 94304, USA. E-mail: eranian@hpl.hp.com Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hello, I have released another version of the perfmon new code base package. This release is relative to 2.6.17-rc4 There were, once again, new system calls added. As such a new libpfm is necessary. This new kernel patch includes a few changes: - Merged P6 and Pentium M processors PMU description tables. perfmon_pm.c is mergde into perfmon_p6.c - change system call number for all architectures. This release uses the new/mod patch breakdown for all architectures. To apply, you can simply do: cat ../perfmon-new-base-060512/*.diff | patch -p1 The new version of the library, libpfm, includes the following changes: - updated to match 2.6.17-rc4 new system call numbers - enhancement to MIPS support (Phil Mucci) - modified internal get_event_code() to get_event_code_counter() to accomodate PMU where an event code depends on the counter where it is programmed. - enhanced P6 CPU detection - preliminary support for the IA-32 architected PMU as described in the latest version of the IA-32 architecture manuals. You need a Core Duo/Solo processor for this to work. Note that the architected PMU for those models only gives access to a subset of the features. I do not have a Core Duo machine myself so I could not actually test this code. I would appreciate if somebody could test the libpfm examples on such machine and report back to me. I am glad to see that IA-32 finally has the beginning of an architected PMU. You can grab the new packages at our web site: http://perfmon2.sf.net It looks like SF.net is close to fixing the CVS outage. When that happens I will be able to populate the repository for both libpfm and pfmon. I will post a clear text patch to lkml shortly. Enjoy, -- -Stephane