From patchwork Wed Jan 30 14:46:41 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnaldo Carvalho de Melo X-Patchwork-Id: 216932 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from ozlabs.org (localhost [IPv6:::1]) by ozlabs.org (Postfix) with ESMTP id 1A5622C029C for ; Thu, 31 Jan 2013 01:48:47 +1100 (EST) Received: by ozlabs.org (Postfix) id 48A2C2C00BE; Thu, 31 Jan 2013 01:47:29 +1100 (EST) Delivered-To: linuxppc-dev@ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:4830:2446:ff00:4687:fcff:fea6:5117]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id EECD72C00B7 for ; Thu, 31 Jan 2013 01:47:28 +1100 (EST) Received: from [177.158.176.62] (helo=sandy.ghostprotocols.net) by bombadil.infradead.org with esmtpsa (Exim 4.76 #1 (Red Hat Linux)) id 1U0YwO-0002KU-Gm; Wed, 30 Jan 2013 14:47:09 +0000 Received: by sandy.ghostprotocols.net (Postfix, from userid 500) id A9BCD26044D; Wed, 30 Jan 2013 11:47:05 -0300 (BRT) From: Arnaldo Carvalho de Melo To: Ingo Molnar Subject: [GIT PULL 00/21] perf/core improvements and fixes Date: Wed, 30 Jan 2013 11:46:41 -0300 Message-Id: <1359557222-17547-1-git-send-email-acme@infradead.org> X-Mailer: git-send-email 1.8.1.1.361.gec3ae6e X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Cc: Peter Zijlstra , Frederic Weisbecker , Stephane Eranian , arnaldo.melo@gmail.com, linuxppc-dev@ozlabs.org, Paul Mackerras , Thomas Jarosch , Jiri Olsa , Arnaldo Carvalho de Melo , Andi Kleen , Hugh Dickins , Mel Gorman , Michael Ellerman , Borislav Petkov , Andrea Arcangeli , Rik van Riel , Corey Ashford , Namhyung Kim , Anton Blanchard , Steven Rostedt , Arnaldo Carvalho de Melo , Sukadev Bhattiprolu , Peter Hurley , Mike Galbraith , linux-kernel@vger.kernel.org, David Ahern , Andrew Morton X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" Hi Ingo, Please consider pulling. Namhyung, Jiri, the 'group report' patches are at acme/perf/group, will send a pull req later if it survives further testing. - Arnaldo The following changes since commit a2d28d0c198b65fac28ea6212f5f8edc77b29c27: Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core (2013-01-25 11:34:00 +0100) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux tags/perf-core-for-mingo for you to fetch changes up to 5809fde040de2afa477a6c593ce2e8fd2c11d9d3: perf header: Fix double fclose() on do_write(fd, xxx) failure (2013-01-30 10:40:44 -0300) ---------------------------------------------------------------- perf/core improvements and fixes: . Fix some leaks in exit paths. . Use memdup where applicable . Remove some die() calls, allowing callers to handle exit paths gracefully. . Correct typo in tools Makefile, fix from Borislav Petkov. . Add 'perf bench numa mem' NUMA performance measurement suite, from Ingo Molnar. . Handle dynamic array's element size properly, fix from Jiri Olsa. . Fix memory leaks on evsel->counts, from Namhyung Kim. . Make numa benchmark optional, allowing the build in machines where required numa libraries are not present, fix from Peter Hurley. . Add interval printing in 'perf stat', from Stephane Eranian. . Fix compile warnings in tests/attr.c, from Sukadev Bhattiprolu. . Fix double free, pclose instead of fclose, leaks and double fclose errors found with the cppcheck tool, from Thomas Jarosch. Signed-off-by: Arnaldo Carvalho de Melo ---------------------------------------------------------------- Arnaldo Carvalho de Melo (8): perf tools: Stop using 'self' in strlist perf tools: Stop using 'self' in map.[ch] perf tools: Use memdup in map__clone perf kmem: Use memdup() perf header: Stop using die() calls when processing tracing data perf ui browser: Free browser->helpline() on ui_browser__hide() perf tests: Call machine__exit in the vmlinux matches kallsyms test perf tests: Fix leaks on PERF_RECORD_* test Borislav Petkov (1): tools: Correct typo in tools Makefile Ingo Molnar (1): perf: Add 'perf bench numa mem' NUMA performance measurement suite Jiri Olsa (1): tools lib traceevent: Handle dynamic array's element size properly Namhyung Kim (1): perf evsel: Fix memory leaks on evsel->counts Peter Hurley (1): perf tools: Make numa benchmark optional Stephane Eranian (2): perf evsel: Add prev_raw_count field perf stat: Add interval printing Sukadev Bhattiprolu (1): perf tools, powerpc: Fix compile warnings in tests/attr.c Thomas Jarosch (5): perf tools: Fix possible double free on error perf sort: Use pclose() instead of fclose() on pipe stream perf tools: Fix memory leak on error perf header: Fix memory leak for the "Not caching a kptr_restrict'ed /proc/kallsyms" case perf header: Fix double fclose() on do_write(fd, xxx) failure tools/Makefile | 2 +- tools/lib/traceevent/event-parse.c | 39 +- tools/perf/Documentation/perf-stat.txt | 4 + tools/perf/Makefile | 13 + tools/perf/arch/common.c | 1 + tools/perf/bench/bench.h | 1 + tools/perf/bench/numa.c | 1731 ++++++++++++++++++++++++++++++ tools/perf/builtin-bench.c | 17 + tools/perf/builtin-kmem.c | 6 +- tools/perf/builtin-stat.c | 158 ++- tools/perf/config/feature-tests.mak | 11 + tools/perf/tests/attr.c | 5 + tools/perf/tests/open-syscall-all-cpus.c | 1 + tools/perf/tests/perf-record.c | 12 +- tools/perf/tests/vmlinux-kallsyms.c | 4 +- tools/perf/ui/browser.c | 2 + tools/perf/util/event.c | 4 +- tools/perf/util/evsel.c | 31 + tools/perf/util/evsel.h | 2 + tools/perf/util/header.c | 25 +- tools/perf/util/map.c | 118 +- tools/perf/util/map.h | 24 +- tools/perf/util/sort.c | 7 +- tools/perf/util/strlist.c | 54 +- tools/perf/util/strlist.h | 42 +- 25 files changed, 2154 insertions(+), 160 deletions(-) create mode 100644 tools/perf/bench/numa.c