Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754083AbbFIS4r (ORCPT ); Tue, 9 Jun 2015 14:56:47 -0400 Received: from mail-qg0-f41.google.com ([209.85.192.41]:33993 "EHLO mail-qg0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752971AbbFIS4j (ORCPT ); Tue, 9 Jun 2015 14:56:39 -0400 From: Vince Weaver X-Google-Original-From: Vince Weaver Date: Tue, 9 Jun 2015 14:30:44 -0400 (EDT) To: linux-kernel@vger.kernel.org cc: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Stephane Eranian , Jiri Olsa , Steven Rostedt Subject: perf/ftrace: does PERF_EVENT_IOC_SET_FILTER serve any purpose? Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 809 Lines: 21 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? I understand it takes a pointer to a string that contains an "ftrace_filter" but the ftrace documentation is very confusing and it's unclear exactly what, if any, string is appropriate here. I've even resorted to sprinkling printk()s throughout the parser code and still can't figure out what's going on. Vince -- 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/