Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932242AbbFITZb (ORCPT ); Tue, 9 Jun 2015 15:25:31 -0400 Received: from mail-ig0-f174.google.com ([209.85.213.174]:35612 "EHLO mail-ig0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751075AbbFITZZ (ORCPT ); Tue, 9 Jun 2015 15:25:25 -0400 Message-ID: <55773DA3.6070808@gmail.com> Date: Tue, 09 Jun 2015 13:25:23 -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 , linux-kernel@vger.kernel.org CC: 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: 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: 694 Lines: 20 On 6/9/15 12:30 PM, Vince Weaver wrote: > Hello > > I've been working on documenting the PERF_EVENT_IOC_SET_FILTER ioctl. > > I've been trying for the past 2 days and have been unable to get any > result except EINVAL. > > Does anyone ever use this ioctl? Does anyone know how to use this ioctl? yes and yes it works. perf record -e irq:irq_handler_entry --filter irq==28 \ -e irq:softirq_entry --filter vec==6 -a \ -- sleep 5 -- 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/