linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Vince Weaver <vweaver1@eecs.utk.edu>
Cc: David Ahern <dsahern@gmail.com>,
	Peter Zijlstra <a.p.zijlstra@chello.nl>,
	linux-kernel@vger.kernel.org, paulus@samba.org, acme@redhat.com
Subject: Re: [patch] perf - comment /proc/sys/kernel/perf_event_paranoid to be part of user ABI
Date: Sat, 4 Jun 2011 12:23:50 +0200	[thread overview]
Message-ID: <20110604102350.GC16292@elte.hu> (raw)
In-Reply-To: <alpine.DEB.2.00.1106031751170.29381@cl320.eecs.utk.edu>


* Vince Weaver <vweaver1@eecs.utk.edu> wrote:

> On Tue, 24 May 2011, Ingo Molnar wrote:
> 
> > I agree with Vince that as far as shell scripts are concerned, checking 
> > /proc/sys/kernel/perf_event_paranoid would work best - and it works better than 
> > having to check the perf syscall.
> > 
> > Vince: mind sending a patch that adds a comment to perf_event_paranoid that 
> > userspace relies on the existence of that file as a feature check? Having such 
> > reminders in the code works even better than frequent testing ;-)
> 
> Such a patch is included below.  Not sure if this is exactly what you 
> meant.

Yeah, that's exactly what i meant - we don't need more really.

Most sysctls are not ABIs (there's no userspace that relies on them) 
so the general attitude is to change them freely and backtrack if 
something breaks unexpectedly. We can avoid that by commenting the 
dependency.

Thanks,

	Ingo

  reply	other threads:[~2011-06-04 10:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-24 13:59 perf: regression -- missing /sys/devices/system/cpu/perf_events Vince Weaver
2011-05-24 14:11 ` Peter Zijlstra
2011-05-24 17:42   ` Vince Weaver
2011-05-24 19:48     ` Ingo Molnar
2011-05-24 20:12       ` Vince Weaver
2011-05-24 20:57         ` David Ahern
2011-05-24 21:29           ` Ingo Molnar
2011-06-03 21:54             ` [patch] perf - comment /proc/sys/kernel/perf_event_paranoid to be part of user ABI Vince Weaver
2011-06-04 10:23               ` Ingo Molnar [this message]
2011-06-04 11:06               ` [tip:perf/core] perf: Comment " tip-bot for Vince Weaver
2011-05-24 21:37         ` perf: regression -- missing /sys/devices/system/cpu/perf_events Ingo Molnar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110604102350.GC16292@elte.hu \
    --to=mingo@elte.hu \
    --cc=a.p.zijlstra@chello.nl \
    --cc=acme@redhat.com \
    --cc=dsahern@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paulus@samba.org \
    --cc=vweaver1@eecs.utk.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).