From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932190AbcGOHQ2 (ORCPT ); Fri, 15 Jul 2016 03:16:28 -0400 Received: from mail.kernel.org ([198.145.29.136]:34308 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752503AbcGOHQ0 (ORCPT ); Fri, 15 Jul 2016 03:16:26 -0400 Date: Fri, 15 Jul 2016 16:15:48 +0900 From: Masami Hiramatsu To: Arnaldo Carvalho de Melo Cc: Daniel Bristot de Oliveira , Linux Kernel Mailing List Subject: Re: perf probe -F with wildcards Message-Id: <20160715161548.c60921b5fae817a19a1a7f80@kernel.org> In-Reply-To: <20160715001641.GD3021@kernel.org> References: <20160715001641.GD3021@kernel.org> X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.30; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arnaldo, On Thu, 14 Jul 2016 21:16:41 -0300 Arnaldo Carvalho de Melo wrote: > Hi Masami, > > I think this worked at some point? > > [root@jouet acme]# perf probe -F | tail > zswap_frontswap_init > zswap_frontswap_invalidate_area > zswap_frontswap_invalidate_page > zswap_frontswap_load > zswap_frontswap_store > zswap_pool_create > zswap_pool_current > zswap_update_total_size > zswap_writeback_entry > zswap_zpool_param_set > [root@jouet acme]# perf probe -F rt_sp* > no symbols found in [kernel.kallsyms], maybe install a debug package? > Failed to load symbols in kernel It seems that 2 problems we have, - There is no function which starts with rt_sp. - The error message is not good for that. If you try perf probe -F acpi_*, you'll see a list of functions. > [root@jouet acme]# perf probe -F rt_sp\* > no symbols found in [kernel.kallsyms], maybe install a debug package? > Failed to load symbols in kernel So, yeah, it should check symbol loading is really failed and should be changed as "no symbols match to given filter" etc. Thank you, > [root@jouet acme]# > > > I.e. the second message is misleading :-\ > > - Arnaldo > -- Masami Hiramatsu