Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp3055596imm; Sun, 1 Jul 2018 11:12:01 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfRNGm9lciYr7PykaDzDOVjSi2VNY5k3pZp56v7iHnmbohBCwm2DZFVmWt9WNwHGe42PzOJ X-Received: by 2002:a17:902:6105:: with SMTP id t5-v6mr15823666plj.92.1530468721741; Sun, 01 Jul 2018 11:12:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530468721; cv=none; d=google.com; s=arc-20160816; b=SJAAEjY3dYzErPArSLAwbybWaVmdVwz3NljQzD44KspvkQVaAywdK19697lCvHMrpv n4NWi9I2H5t9fGvWYe2MeyoLYLhhTFB4AB64TpQL++1oC4gusIq74MB5M3F+v4HlQHMP 7WeB5HMAkqrDI/oEDQAfNaDetKA+YtvuqEKpIdqoEmr1ZLDudy8AbERO9xE/B1zXDZ9f HbNCVEUEUDS9c4JoVnR6umP2I9UhwwbpcxBca6vKxZXEKJU/bm0vHFZJ+rNbuR1WJgTq UDZcQgqOyw4QZy4qKPoHdrWSXPDbxdBX1XPREgZ1r+0iiiZReNaR8QutdHRxBZpWYeAz R3Xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=718x9eBVraAbcMAe8Cpys0ErFnYEWlEad28fTuMpNNE=; b=M67/WculrVXrEaVS4dcsxMyBEZypNga/tXw/XeF+Vq7uwCQwMm0nufw9DVMSGvFmOH hapqkJTPH+7yK+u75apMAC28PcF8NIx1zWV1CH/UP0BoId9HehpNyY45j6Hds6PxXZxN T7DO3HNBxWaU92F40r+YmIWi4tehrqtczGgw8pXI+z3hUyZGh9OVx9wA0tOrtWt0fJwu tfJf01i2BiNP9A66lIGgSqgBbpi4sFC4Fl7zprmp2zKAICp13g2ucQAPW0ZJWlNWOYAA hW+T7LaxxZ851coRvQt1HJnOUfOALn79d9uArLRg1uKQqdveggkQQfG4/OmxrwNNdOE/ pwaA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h2-v6si14587322pls.245.2018.07.01.11.11.47; Sun, 01 Jul 2018 11:12:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965570AbeGAQ1u (ORCPT + 99 others); Sun, 1 Jul 2018 12:27:50 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:34150 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965550AbeGAQ1m (ORCPT ); Sun, 1 Jul 2018 12:27:42 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 621F192B; Sun, 1 Jul 2018 16:27:41 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Adrian Hunter , Jiri Olsa , Wang Nan , Arnaldo Carvalho de Melo Subject: [PATCH 4.9 075/101] perf tools: Fix symbol and object code resolution for vdso32 and vdsox32 Date: Sun, 1 Jul 2018 18:22:01 +0200 Message-Id: <20180701160800.174094530@linuxfoundation.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180701160757.138608453@linuxfoundation.org> References: <20180701160757.138608453@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: Adrian Hunter commit aef4feace285f27c8ed35830a5d575bec7f3e90a upstream. Fix __kmod_path__parse() so that perf tools does not treat vdso32 and vdsox32 as kernel modules and fail to find the object. Signed-off-by: Adrian Hunter Cc: Jiri Olsa Cc: Wang Nan Cc: stable@vger.kernel.org Fixes: 1f121b03d058 ("perf tools: Deal with kernel module names in '[]' correctly") Link: http://lkml.kernel.org/r/1528117014-30032-3-git-send-email-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Greg Kroah-Hartman --- tools/perf/util/dso.c | 2 ++ 1 file changed, 2 insertions(+) --- a/tools/perf/util/dso.c +++ b/tools/perf/util/dso.c @@ -253,6 +253,8 @@ int __kmod_path__parse(struct kmod_path if ((strncmp(name, "[kernel.kallsyms]", 17) == 0) || (strncmp(name, "[guest.kernel.kallsyms", 22) == 0) || (strncmp(name, "[vdso]", 6) == 0) || + (strncmp(name, "[vdso32]", 8) == 0) || + (strncmp(name, "[vdsox32]", 9) == 0) || (strncmp(name, "[vsyscall]", 10) == 0)) { m->kmod = false;