From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753755Ab1AYRWw (ORCPT ); Tue, 25 Jan 2011 12:22:52 -0500 Received: from casper.infradead.org ([85.118.1.10]:47066 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753702Ab1AYRWt (ORCPT ); Tue, 25 Jan 2011 12:22:49 -0500 From: Arnaldo Carvalho de Melo To: Ingo Molnar Cc: linux-kernel@vger.kernel.org, Arnaldo Carvalho de Melo , 2nddept-manager@sdl.hitachi.co.jp, Franck Bui-Huu , Frederic Weisbecker , Han Pingtian , Ingo Molnar , Masami Hiramatsu , Mike Galbraith , Paul Mackerras , Peter Zijlstra , Srikar Dronamraju , Stephane Eranian , Steven Rostedt , Tom Zanussi , Arnaldo Carvalho de Melo Subject: [GIT PULL 00/29] perf/core improvements for 2.6.39 Date: Tue, 25 Jan 2011 15:21:23 -0200 Message-Id: <1295976112-2796-1-git-send-email-acme@infradead.org> X-Mailer: git-send-email 1.6.2.5 X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Ingo, Please consider pulling from: git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux-2.6 perf/core The 'stat', 'record' and 'top' tools now share the event selector lifecycle routines, in the process 'top' switched to using just one mmap per CPU, using ioctl(PERF_EVENT_IOC_SET_OUTPUT) to set all events to just the first counter on a cpu, etc. I'm now working on a thin python binding for these abstractions, to ease prototyping monitoring apps. Regards, - Arnaldo Arnaldo Carvalho de Melo (20): perf evsel: Introduce perf_evlist perf evlist: Adopt the pollfd array perf evsel: Support event groups perf evsel: Allow specifying if the inherit bit should be set perf top: Use perf_evsel__open perf record: Use perf_evsel__open perf evsel: Introduce mmap support perf record: Use struct perf_mmap and helpers perf record: Move perf_mmap__write_tail to perf.h perf evlist: Move the mmap array from perf_evsel perf record: Use perf_evlist__mmap perf tools: Add missing cpu_map__delete() perf test: Check counts on all cpus in test__open_syscall_event_on_all_cpus perf evlist: Steal mmap reading routine from 'perf top' perf test: Add test for the evlist mmap routines perf top: Add native_safe_halt to skip symbols perf tools: Pass the struct opt to the wildcard parsing routine perf threads: Move thread_map to separate file perf tools: Move event__parse_sample to evsel.c perf evsel: Introduce perf_evsel__{in,ex}it Franck Bui-Huu (1): perf record: auto detect when stdout is a pipe Frederic Weisbecker (4): perf callchain: Feed callchains into a cursor perf callchain: Rename cumul_hits into callchain_cumul_hits perf callchain: Rename register_callchain_param into callchain_register_param perf callchain: Don't give arbitrary gender to callchain tree nodes Han Pingtian (1): perf test: check if cpu_map__new() return NULL Masami Hiramatsu (3): perf probe: Introduce lines walker interface perf probe: Enable to put probe inline function call site perf probe: Add --funcs to show available functions in symtab tools/perf/Documentation/perf-probe.txt | 4 + tools/perf/Makefile | 4 + tools/perf/builtin-probe.c | 29 +++- tools/perf/builtin-record.c | 328 ++++++++++++----------------- tools/perf/builtin-report.c | 29 ++-- tools/perf/builtin-stat.c | 39 ++-- tools/perf/builtin-test.c | 184 +++++++++++++++- tools/perf/builtin-top.c | 283 ++++++++----------------- tools/perf/perf.h | 26 +++ tools/perf/util/callchain.c | 224 ++++++++++---------- tools/perf/util/callchain.h | 74 ++++++- tools/perf/util/cpumap.c | 5 + tools/perf/util/cpumap.h | 2 +- tools/perf/util/event.c | 125 ----------- tools/perf/util/event.h | 5 +- tools/perf/util/evlist.c | 170 +++++++++++++++ tools/perf/util/evlist.h | 41 ++++ tools/perf/util/evsel.c | 318 ++++++++++++++++++++++++++-- tools/perf/util/evsel.h | 33 +++- tools/perf/util/header.c | 17 +- tools/perf/util/header.h | 7 +- tools/perf/util/hist.c | 15 +- tools/perf/util/hist.h | 2 + tools/perf/util/include/linux/list.h | 1 + tools/perf/util/parse-events.c | 71 ++----- tools/perf/util/parse-events.h | 7 - tools/perf/util/probe-event.c | 68 ++++++- tools/perf/util/probe-event.h | 1 + tools/perf/util/probe-finder.c | 361 ++++++++++++++++++------------- tools/perf/util/session.c | 26 ++- tools/perf/util/session.h | 20 ++- tools/perf/util/thread.c | 55 ----- tools/perf/util/thread.h | 14 -- tools/perf/util/thread_map.c | 64 ++++++ tools/perf/util/thread_map.h | 15 ++ tools/perf/util/ui/browsers/hists.c | 2 +- 36 files changed, 1647 insertions(+), 1022 deletions(-) create mode 100644 tools/perf/util/evlist.c create mode 100644 tools/perf/util/evlist.h create mode 100644 tools/perf/util/thread_map.c create mode 100644 tools/perf/util/thread_map.h