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

From: Ingo Molnar
Date: Thu Oct 03 2013 - 03:34:38 EST



* Ramkumar Ramachandra <artagnon@xxxxxxxxx> 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 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/