From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756539Ab2IJQuz (ORCPT ); Mon, 10 Sep 2012 12:50:55 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42155 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750930Ab2IJQuw (ORCPT ); Mon, 10 Sep 2012 12:50:52 -0400 From: Jiri Olsa To: linux-kernel@vger.kernel.org Cc: Arnaldo Carvalho de Melo , Peter Zijlstra , Ingo Molnar , Paul Mackerras , Frederic Weisbecker Subject: [PATCH 0/4] perf tools: Back [vdso] DSO with real data Date: Mon, 10 Sep 2012 18:50:15 +0200 Message-Id: <1347295819-23177-1-git-send-email-jolsa@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org hi, this patchset adds data behind the [vdso] map as a special DSO. This is helpful for dwarf unwind, because now we can unwind samples taken from [vdso] map. Example output is given in patch 4/4. Patch 1/1 fixies separate issue. Attached patches: 1/4 perf tools: Do backtrace post unwind only if we regs and stack were captured 2/4 perf tools: Add memdup function 3/4 perf dso: Make dsos__find function globally available 4/4 perf tools: Back [vdso] DSO with real data thanks, jirka Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Paul Mackerras Cc: Frederic Weisbecker --- tools/perf/Makefile | 2 ++ tools/perf/builtin-buildid-cache.c | 3 ++- tools/perf/util/header.c | 70 +++++++++++++++++++++++++++++++++++++++----------------- tools/perf/util/header.h | 2 +- tools/perf/util/include/linux/string.h | 2 ++ tools/perf/util/map.c | 12 +++++++--- tools/perf/util/session.c | 7 ++++++ tools/perf/util/string.c | 18 ++++++++++++++- tools/perf/util/symbol.c | 2 +- tools/perf/util/symbol.h | 1 + tools/perf/util/vdso.c | 111 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ tools/perf/util/vdso.h | 18 +++++++++++++++ 12 files changed, 220 insertions(+), 28 deletions(-)