Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932999AbbFIT7M (ORCPT ); Tue, 9 Jun 2015 15:59:12 -0400 Received: from mail-ie0-f177.google.com ([209.85.223.177]:35359 "EHLO mail-ie0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753610AbbFIT7D (ORCPT ); Tue, 9 Jun 2015 15:59:03 -0400 Message-ID: <55774585.7030000@gmail.com> Date: Tue, 09 Jun 2015 13:59:01 -0600 From: David Ahern User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Vince Weaver CC: linux-kernel@vger.kernel.org, Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Stephane Eranian , Jiri Olsa , Steven Rostedt Subject: Re: perf/ftrace: does PERF_EVENT_IOC_SET_FILTER serve any purpose? References: <55773DA3.6070808@gmail.com> <5577433C.5040702@gmail.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1142 Lines: 32 On 6/9/15 2:02 PM, Vince Weaver wrote: > # ls/sys/kernel/debug/tracing/events/irq/irq_handler_entry/ > enable filter format id trigger > > # perf list > .... > [ Tracepoints not available: No such file or directory ] > > strace shows > statfs("/sys/kernel/debug/tracing/events", {f_type=0x74726163, > f_bsize=4096, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, > f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0 > > so I have no idea what's going wrong here. Check Steven's email; probably the issue. > > > Anyway, on a related question, I see for the event that you use > --filter irq==28 > How do I find out the valid filters for each event? Do I have to parse > the "format" file under > /sys/kernel/debug/tracing/events/*/* ? Yes. And *very important* don't use the print fmt names, but the field names. Often they are the same but when they differ it can be maddening. -- 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/