From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755182AbZHLJ0I (ORCPT ); Wed, 12 Aug 2009 05:26:08 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754996AbZHLJ0H (ORCPT ); Wed, 12 Aug 2009 05:26:07 -0400 Received: from mail-ew0-f214.google.com ([209.85.219.214]:41255 "EHLO mail-ew0-f214.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754523AbZHLJ0G (ORCPT ); Wed, 12 Aug 2009 05:26:06 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=KtxGn8UUmUxZxqtbnhxhIrLUOZQ+UjxvUu7zfIuuChotdKvabRTRrWv1yn3neOuru9 jYuJ6ZhsQtjyweu/mN+gibuGChok7UBpYh3drUZvwiIkQutw677yThsiov5H8N5jbf7E naULDkaWe6AbaueNSBSX692uA9pbUoIkiUNOY= From: Frederic Weisbecker To: Ingo Molnar Cc: LKML , Frederic Weisbecker , Arnaldo Carvalho de Melo , Peter Zijlstra , Mike Galbraith , Brice Goglin Subject: [GIT PULL] perf tools: Factorize common code Date: Wed, 12 Aug 2009 11:25:59 +0200 Message-Id: <1250069162-13099-1-git-send-email-fweisbec@gmail.com> X-Mailer: git-send-email 1.6.2.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Ingo, This set factorizes the common definition of structs, functions, variables inside perf tools to make it easier for perf trace to be created. I guess this patchset only factorizes 10 % of what could be done, the largest part is the intersection between perf report and perf annotate. It's a lot of work. I guess I will do the rest in separate patchsets while writing perf trace. Thanks, Frederic. The following changes since commit 9f8666971185b86615a074bcac67c90fdf8af8bc: Brice Goglin (1): perf report: Add raw displaying of per-thread counters are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/frederic/random-tracing.git ..BRANCH.NOT.VERIFIED.. Frederic Weisbecker (3): perf tools: Factorize high level dso helpers perf tools: Factorize the event structure definitions in a single file perf tools: Factorize the map helpers tools/perf/Makefile | 2 + tools/perf/builtin-annotate.c | 209 +------------------------------- tools/perf/builtin-record.c | 20 +--- tools/perf/builtin-report.c | 274 +---------------------------------------- tools/perf/builtin-stat.c | 1 - tools/perf/builtin-top.c | 24 ---- tools/perf/builtin.h | 1 + tools/perf/perf.h | 1 + tools/perf/util/callchain.h | 1 + tools/perf/util/event.h | 84 +++++++++++++ tools/perf/util/map.c | 97 +++++++++++++++ tools/perf/util/symbol.c | 97 +++++++++++++++ tools/perf/util/symbol.h | 12 ++ tools/perf/util/util.h | 1 + 14 files changed, 303 insertions(+), 521 deletions(-) create mode 100644 tools/perf/util/event.h create mode 100644 tools/perf/util/map.c