Re: [QUERY] Why does perf-trace need me to be root?

2013-10-03 Thread Arnaldo Carvalho de Melo
Em Thu, Oct 03, 2013 at 08:25:05AM +0200, Ingo Molnar escreveu: > * Ramkumar Ramachandra wrote: > > David Ahern wrote: > > > If you trust your users make the debugfs mount point rx by group,world. > > Thanks David. I can preserve this configuration across reboots by > > putting an entry in

Re: [QUERY] Why does perf-trace need me to be root?

2013-10-03 Thread Ingo Molnar
* Ramkumar Ramachandra wrote: > Ingo Molnar wrote: > >echo 'kernel.perf_event_paranoid = -1' >> /etc/sysctl.conf > > Thanks Ingo. It's called /etc/sysctl.d/* now: > https://www.archlinux.org/news/deprecation-of-etcsysctlconf/ That works too, on modern distros. Thanks, Ingo -- To

Re: [QUERY] Why does perf-trace need me to be root?

2013-10-03 Thread Ramkumar Ramachandra
Ingo Molnar wrote: >echo 'kernel.perf_event_paranoid = -1' >> /etc/sysctl.conf Thanks Ingo. It's called /etc/sysctl.d/* now: https://www.archlinux.org/news/deprecation-of-etcsysctlconf/ > The current output: > > comet:~/tip> perf trace > Couldn't read the raw_syscalls tracepoints

Re: [QUERY] Why does perf-trace need me to be root?

2013-10-03 Thread Ingo Molnar
* Ramkumar Ramachandra wrote: > David Ahern wrote: > > If you trust your users make the debugfs mount point rx by group,world. > > Thanks David. I can preserve this configuration across reboots by > putting an entry in fstab, right? How do I preserve the value of >

Re: [QUERY] Why does perf-trace need me to be root?

2013-10-03 Thread Ingo Molnar
* Ramkumar Ramachandra artag...@gmail.com wrote: David Ahern wrote: If you trust your users make the debugfs mount point rx by group,world. Thanks David. I can preserve this configuration across reboots by putting an entry in fstab, right? How do I preserve the value of

Re: [QUERY] Why does perf-trace need me to be root?

2013-10-03 Thread Ramkumar Ramachandra
Ingo Molnar wrote: echo 'kernel.perf_event_paranoid = -1' /etc/sysctl.conf Thanks Ingo. It's called /etc/sysctl.d/* now: https://www.archlinux.org/news/deprecation-of-etcsysctlconf/ The current output: comet:~/tip perf trace Couldn't read the raw_syscalls tracepoints information!

Re: [QUERY] Why does perf-trace need me to be root?

2013-10-03 Thread Ingo Molnar
* Ramkumar Ramachandra artag...@gmail.com wrote: Ingo Molnar wrote: echo 'kernel.perf_event_paranoid = -1' /etc/sysctl.conf Thanks Ingo. It's called /etc/sysctl.d/* now: https://www.archlinux.org/news/deprecation-of-etcsysctlconf/ That works too, on modern distros. Thanks,

Re: [QUERY] Why does perf-trace need me to be root?

2013-10-03 Thread Arnaldo Carvalho de Melo
Em Thu, Oct 03, 2013 at 08:25:05AM +0200, Ingo Molnar escreveu: * Ramkumar Ramachandra artag...@gmail.com wrote: David Ahern wrote: If you trust your users make the debugfs mount point rx by group,world. Thanks David. I can preserve this configuration across reboots by putting an entry

Re: [QUERY] Why does perf-trace need me to be root?

2013-10-02 Thread Ramkumar Ramachandra
David Ahern wrote: > If you trust your users make the debugfs mount point rx by group,world. Thanks David. I can preserve this configuration across reboots by putting an entry in fstab, right? How do I preserve the value of /proc/sys/kernel/perf_event_paranoid across reboots? -- To unsubscribe

Re: [QUERY] Why does perf-trace need me to be root?

2013-10-02 Thread David Ahern
On 10/2/13 3:20 AM, Ramkumar Ramachandra wrote: Hi, All the other perf tooling can be used as a normal user. At one point, I had to touch /proc/sys/kernel/perf_event_paranoid to get me numbers on a PMU event without a symbolic name, but that's about it. perf-trace seems to be the exception

[QUERY] Why does perf-trace need me to be root?

2013-10-02 Thread Ramkumar Ramachandra
Hi, All the other perf tooling can be used as a normal user. At one point, I had to touch /proc/sys/kernel/perf_event_paranoid to get me numbers on a PMU event without a symbolic name, but that's about it. perf-trace seems to be the exception though: artagnon|perf-core=:~/src/linux/tools/perf$

[QUERY] Why does perf-trace need me to be root?

2013-10-02 Thread Ramkumar Ramachandra
Hi, All the other perf tooling can be used as a normal user. At one point, I had to touch /proc/sys/kernel/perf_event_paranoid to get me numbers on a PMU event without a symbolic name, but that's about it. perf-trace seems to be the exception though: artagnon|perf-core=:~/src/linux/tools/perf$

Re: [QUERY] Why does perf-trace need me to be root?

2013-10-02 Thread David Ahern
On 10/2/13 3:20 AM, Ramkumar Ramachandra wrote: Hi, All the other perf tooling can be used as a normal user. At one point, I had to touch /proc/sys/kernel/perf_event_paranoid to get me numbers on a PMU event without a symbolic name, but that's about it. perf-trace seems to be the exception

Re: [QUERY] Why does perf-trace need me to be root?

2013-10-02 Thread Ramkumar Ramachandra
David Ahern wrote: If you trust your users make the debugfs mount point rx by group,world. Thanks David. I can preserve this configuration across reboots by putting an entry in fstab, right? How do I preserve the value of /proc/sys/kernel/perf_event_paranoid across reboots? -- To unsubscribe