Re: perf/ftrace: does PERF_EVENT_IOC_SET_FILTER serve any purpose?
From: David Ahern
Date: Tue Jun 09 2015 - 15:25:34 EST
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/