From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753263AbbDGIXI (ORCPT ); Tue, 7 Apr 2015 04:23:08 -0400 Received: from szxga02-in.huawei.com ([119.145.14.65]:57732 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751150AbbDGIXE (ORCPT ); Tue, 7 Apr 2015 04:23:04 -0400 From: Wang Nan To: , , , CC: , , Subject: [PATCH v3 0/2] perf: report/annotate: fix segfault problem. Date: Tue, 7 Apr 2015 08:22:44 +0000 Message-ID: <1428394966-131044-1-git-send-email-wangnan0@huawei.com> X-Mailer: git-send-email 1.8.3.4 In-Reply-To: <20150406125239.GE2500@redhat.com> References: <20150406125239.GE2500@redhat.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.107.197.210] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Patch v3 updates tests/kmod-path.c. It also check cpumode to filter out strings like '[vdso]' and '[vsyscalls]' instead of directly match against them. 'perf: kmaps: enforce usage of kmaps to protect futher bugs.' is also posted in this series (1/2). It has a small fix: moving map__kmap() and newly introduced map__kmaps() from map.h to map.c, because they require pr_err and struct dso but their existance are not ensure in map.h. Wang Nan (2): perf: kmaps: enforce usage of kmaps to protect futher bugs. perf: report/annotate: fix segfault problem. tools/perf/tests/kmod-path.c | 43 +++++++++++++++++++++++++++++++++---- tools/perf/util/dso.c | 49 +++++++++++++++++++++++++++++++++++++------ tools/perf/util/dso.h | 12 ++++++----- tools/perf/util/header.c | 2 +- tools/perf/util/machine.c | 9 ++++++-- tools/perf/util/map.c | 20 ++++++++++++++++++ tools/perf/util/map.h | 6 ++---- tools/perf/util/probe-event.c | 2 ++ tools/perf/util/session.c | 3 +++ tools/perf/util/symbol-elf.c | 16 +++++++++----- tools/perf/util/symbol.c | 34 ++++++++++++++++++++++++------ 11 files changed, 163 insertions(+), 33 deletions(-) -- 1.8.3.4