Re: perf list tracepoints problem

From: Arnaldo Carvalho de Melo
Date: Fri Jun 19 2015 - 14:51:19 EST


Em Fri, Jun 19, 2015 at 12:51:04PM -0400, Steven Rostedt escreveu:
> On Fri, 19 Jun 2015 13:19:53 -0300
> Arnaldo Carvalho de Melo <acme@xxxxxxxxxx> wrote:
>
> > Hi,
> >
> > Have you guys ever saw this:
> >
> > [root@perf4 ~]# perf list
> > <SKIP>
> > mem:<addr>[:access] [Hardware
> > breakpoint]
> >
> > [ Tracepoints not available: Success ]
> > [root@perf4 ~]# uname -r
> > 4.1.0-rc8
> > [root@perf4 ~]# mount | grep tracefs
> > tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
> > [root@perf4 ~]# mount | grep debugfs
> > debugfs on /sys/kernel/debug type debugfs (rw,relatime,seclabel)
> > [root@perf4 ~]#
> >
> > [root@zoo ~]# ls -la /sys/kernel/debug/tracing/events/ | tail
> > drwxr-xr-x. 15 root root 0 Jun 17 10:47 timer
> > drwxr-xr-x. 3 root root 0 Jun 17 10:47 tlb
> > drwxr-xr-x. 3 root root 0 Jun 17 10:47 udp
> > drwxr-xr-x. 4 root root 0 Jun 17 10:47 v4l2
> > drwxr-xr-x. 17 root root 0 Jun 17 10:47 vmscan
> > drwxr-xr-x. 3 root root 0 Jun 17 10:47 vsyscall
> > drwxr-xr-x. 6 root root 0 Jun 17 10:47 workqueue
> > drwxr-xr-x. 31 root root 0 Jun 17 10:47 writeback
> > drwxr-xr-x. 37 root root 0 Jun 17 10:47 xen
> > drwxr-xr-x. 11 root root 0 Jun 17 10:47 xhci-hcd
> > [root@zoo ~]#
> >
> > ?
> >
> > Just a heads up, will continue investigating after some food...
> >
>
> Running the older perf that ignores tracepoints not on the debugfs
> system?

Right, I thought I was, but there was a perf-3.10...rpm installed that
was being used instead of my ~/bin/perf new binary, removed the rpm and
it lists the tracepoints now, should've used 'perf --version' before
hitting the send button, sorry about that.

- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
Please read the FAQ at http://www.tux.org/lkml/