Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754560Ab0DDOhG (ORCPT ); Sun, 4 Apr 2010 10:37:06 -0400 Received: from mail-bw0-f209.google.com ([209.85.218.209]:53038 "EHLO mail-bw0-f209.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754329Ab0DDOgy (ORCPT ); Sun, 4 Apr 2010 10:36:54 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=Zri0oF3RXoWxY94+7lKiOwDvuv1q5BPW8eEFA9dQtzDbLE+Qt/TBn89TapGxef4OSI uM83TSJ2LDQ40ZZ4ZBmssm1jtd+0DQ9lbgA29YZoQsxQ0obcDA2Cl8TS2VaTszdQWFWv gZVGc6v08LCA8gWl9qaGuGEpZDhZn/ItY0bM8= From: Frederic Weisbecker To: Ingo Molnar Cc: LKML , Frederic Weisbecker , Peter Zijlstra , Stephane Eranian , Arnaldo Carvalho de Melo , Paul Mackerras , Ingo Molnar Subject: [PATCH 1/4] perf: Drop the frame reliablity check Date: Sun, 4 Apr 2010 16:36:41 +0200 Message-Id: <1270391804-6552-2-git-send-regression-fweisbec@gmail.com> X-Mailer: git-send-email 1.6.2.3 In-Reply-To: <1270391804-6552-1-git-send-regression-fweisbec@gmail.com> References: <1270391804-6552-1-git-send-regression-fweisbec@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1188 Lines: 35 It is useless now that we have a pure stack frame walker, as given addr are always reliable. Signed-off-by: Frederic Weisbecker Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Arnaldo Carvalho de Melo Cc: Paul Mackerras Cc: Ingo Molnar --- arch/x86/kernel/cpu/perf_event.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/cpu/perf_event.c b/arch/x86/kernel/cpu/perf_event.c index 65e9c5e..353a174 100644 --- a/arch/x86/kernel/cpu/perf_event.c +++ b/arch/x86/kernel/cpu/perf_event.c @@ -1602,8 +1602,7 @@ static void backtrace_address(void *data, unsigned long addr, int reliable) { struct perf_callchain_entry *entry = data; - if (reliable) - callchain_store(entry, addr); + callchain_store(entry, addr); } static const struct stacktrace_ops backtrace_ops = { -- 1.6.2.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/