lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 9 Jun 2015 15:51:53 -0400 (EDT)
From:	Vince Weaver <vincent.weaver@...ne.edu>
To:	David Ahern <dsahern@...il.com>
cc:	Vince Weaver <vincent.weaver@...ne.edu>,
	linux-kernel@...r.kernel.org,
	Peter Zijlstra <a.p.zijlstra@...llo.nl>,
	Ingo Molnar <mingo@...hat.com>,
	Arnaldo Carvalho de Melo <acme@...nel.org>,
	Stephane Eranian <eranian@...il.com>,
	Jiri Olsa <jolsa@...hat.com>,
	Steven Rostedt <rostedt@...dmis.org>
Subject: Re: perf/ftrace: does PERF_EVENT_IOC_SET_FILTER serve any purpose?

On Tue, 9 Jun 2015, David Ahern wrote:

> 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

# 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.

Vince


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ