Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932915AbbFITt1 (ORCPT ); Tue, 9 Jun 2015 15:49:27 -0400 Received: from mail-ie0-f182.google.com ([209.85.223.182]:36206 "EHLO mail-ie0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752282AbbFITtT (ORCPT ); Tue, 9 Jun 2015 15:49:19 -0400 Message-ID: <5577433C.5040702@gmail.com> Date: Tue, 09 Jun 2015 13:49:16 -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> 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: 898 Lines: 24 On 6/9/15 1:51 PM, Vince Weaver wrote: > # perf record -e irq:irq_handler_entry --filter irq==28 -e irq:softirq_entry --filter vec==6 -a -- sleep 5 > invalid or unsupported event: 'irq:irq_handler_entry' > Run 'perf list' for a list of valid events > > perf list doesn't show any tracepoint events, despite having debugfs > mounted and running as root and /sys/kernel/debug/tracing/events/ being > populated. Do you see this: # ls /sys/kernel/debug/tracing/events/irq/irq_handler_entry/ enable filter format id trigger It's used in kernel/irq/handle.c, handle_irq_event_percpu(). As I recall this tracepoint has been around a long time. David -- 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/