Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1692888ybz; Thu, 23 Apr 2020 04:03:00 -0700 (PDT) X-Google-Smtp-Source: APiQypJCDWOuHsddiy/z6ih5goUD1IEVVmgPoNWmZn7NtCiV+HaIYgnKsO/DM9A9TMo8UIaEse9a X-Received: by 2002:a17:906:e098:: with SMTP id gh24mr2238499ejb.44.1587639780716; Thu, 23 Apr 2020 04:03:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587639780; cv=none; d=google.com; s=arc-20160816; b=trb4bhHzs3mDrKiToGkVJiyMhAS5ItbMRMATdVBhH4vsd76zH8ZyQ5iz8Nnd4Fq619 ibzwG0mLvSF5rglFEHPm5JK6FhIbjHUj0XNdpm/v2jJMKIkC1D0dpDc3wfT+/dYb3K0W dD/dki/gIxCal8WYWZxVNgV9LlRbA3tb2cviwb+HENdtD8BxyjcDIcbitRdnee8UU3f0 PkwVJs8nj3rwt28HRc7mcUtBoa5dzKYhc8iOPiD8fhLbYdD6kg1YQuML22/y5CSuMlif CkYFqQVo9ue7JzKAEmJZc9fYeQvPVzs+deI6AmhEJjQQbTClz40NmXuEH6AZZy6h29aW +xtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:message-id:date:subject:cc:to:from:dkim-signature; bh=HKsCFkKwuE9OmYm4Zcual0Nnviw58VfZnRmTSu3oKJg=; b=lQjRuZOWsUKulC1zXA8sFOfrncsNzQ1YXoCh87CtBbA+HKHA8M2R+HyLfPowZmHoLO Zm99v6ya3hisOQnkN+ge2gMlM8pKLjvD+akAc3av7LRpzsUQHG8bD+Itp62UrdtBZaHJ iCyotskX2d0HdbutoHG44dqxtUCkE+pYCoKpCJtz3WN9ka7wlYHydh9aFyb0XXAMQsGY ZYVq64m1HfRP19lHUOzH4zZlYzijZ249pLNBzpSoir2oVrPRNq3XN8SAiCTZ1xhbtD7K USovt7JXOmYan3kCtVe87YZyIV4GOdx7TwAUDzvk7hljywcmS7GNmZQteM9blSZ7qA+F AOjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=U295c3Sf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cm6si956459edb.71.2020.04.23.04.02.37; Thu, 23 Apr 2020 04:03:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=U295c3Sf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727950AbgDWLA7 (ORCPT + 99 others); Thu, 23 Apr 2020 07:00:59 -0400 Received: from mail.kernel.org ([198.145.29.99]:50056 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727895AbgDWLA7 (ORCPT ); Thu, 23 Apr 2020 07:00:59 -0400 Received: from localhost.localdomain (NE2965lan1.rev.em-net.ne.jp [210.141.244.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 581D120704; Thu, 23 Apr 2020 11:00:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1587639658; bh=lTkMi/ZNt6OC2GMlHpavILsFBilbXzr9Sq3gYRp/Quo=; h=From:To:Cc:Subject:Date:From; b=U295c3Sfnwm6J1C5y+rOiboR8YTzaw1H5LHIcFwxCp1EiP3Suh2lURr6OEpb2cF6O AT0hfCR147Y+9WzUU/Mkk7t+A58rayXb4gqwHn4f7lRCgOA1cWp7Neg18MrwiFxrh6 G1Pzbq2o4iz6czYtAv012q85JtWvgHpRBqunWiIM= From: Masami Hiramatsu To: Arnaldo Carvalho de Melo Cc: Masami Hiramatsu , Jiri Olsa , Namhyung Kim , Linux Kernel Mailing List , stable@vger.kernel.org Subject: [PATCH 0/3] perf-probe: Fix __init function and blacklist checking Date: Thu, 23 Apr 2020 20:00:54 +0900 Message-Id: <158763965400.30755.14484569071233923742.stgit@devnote2> X-Mailer: git-send-email 2.20.1 User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Here is a series of fixes related to __init function and blacklist checking routines. Arnaldo noticed me some cases which don't check the __init function checking. I found that the blacklist checking is also not working with KASLR, and also skipped probes are shown in result list unexpectedly. Thank you, --- Masami Hiramatsu (3): perf-probe: Fix to check blacklist address correctly perf-probe: Check address correctness by map instead of _etext perf-probe: Do not show the skipped events tools/perf/builtin-probe.c | 3 +++ tools/perf/util/probe-event.c | 46 +++++++++++++++++++++++++---------------- 2 files changed, 31 insertions(+), 18 deletions(-) -- Masami Hiramatsu (Linaro)