From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760024AbXGaXXg (ORCPT ); Tue, 31 Jul 2007 19:23:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751252AbXGaXX3 (ORCPT ); Tue, 31 Jul 2007 19:23:29 -0400 Received: from netops-testserver-3-out.sgi.com ([192.48.171.28]:46087 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754045AbXGaXX2 (ORCPT ); Tue, 31 Jul 2007 19:23:28 -0400 From: Christoph Lameter To: linux-kernel@vger.kernel.org Subject: [RFC] Simple Performance Counters Date: Tue, 31 Jul 2007 16:23:28 -0700 Message-Id: <11859242081217-git-send-email-clameter@sgi.com> X-Mailer: git-send-email 1.5.2.4 In-Reply-To: simple-perf-count References: simple-perf-count Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org The following patches implement a simple way to do performance counters using the time stamp registers on various platforms. The functionality here has been useful to me in the past when I had to investigate the performance of certain code paths in the Linux kernel. The patchset is useful as is for me. There have been requests to make this functionality available in general. I'd appreciate if someone could step forward to do this since I already have my hands in too many things. The patchset can also be retrieved via GIT PULL from kernel.org git pull git://git.kernel.org/pub/scm/linux/kernel/git/christoph/misc.git perfcount