From: <tomas@tuxteam.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Running rr from gud?
Date: Mon, 25 Oct 2021 09:48:38 +0200 [thread overview]
Message-ID: <20211025074838.GA21585@tuxteam.de> (raw)
In-Reply-To: <CANc-5Uwq8woRESShUDVXSY64hsWd2HVFpaiEZmMHjoUtsGutyQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1105 bytes --]
On Sun, Oct 24, 2021 at 05:44:40PM -0500, Skip Montanaro wrote:
> > Under "rr features", there's a link "IDE integration" that takes you to this
> > page:
> >
> > https://github.com/rr-debugger/rr/wiki/Using-rr-in-an-IDE
> >
> > Emacs GUD/gdm-mi is mentioned under "known to work".
>
> Thanks. Poked around for a couple minutes. Getting an error:
>
> [FATAL /build/rr-S0CLEN/rr-5.3.0/src/PerfCounters.cc:310:start_counter()
> errno: EACCES] Permission denied to use 'perf_event_open'; are perf
> events enabled? Try 'perf record'.
>
> which seems more Linux- than Emacs-related. I'll keep messing around.
What's the setting of your /proc/sys/kernel/perf_event_paranoid?
Perhaps lowering it a bit might give better results.
DISCLAIMER: I haven't much experience with that, much less an
idea what that might do to your box's security. The whole story
is somewhere here [1]. Don't do that on your Internet facing
server, less if it's running Apache. And so on ;-)
Cheers
[1] https://www.kernel.org/doc/html/latest/admin-guide/perf-security.html#unprivileged-users
- t
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2021-10-25 7:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-24 20:44 Running rr from gud? Skip Montanaro
2021-10-24 21:35 ` Joost Kremers
2021-10-24 22:44 ` Skip Montanaro
2021-10-25 0:13 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-25 2:08 ` Skip Montanaro
2021-10-25 7:48 ` tomas [this message]
2021-10-25 12:53 ` Skip Montanaro
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=20211025074838.GA21585@tuxteam.de \
--to=tomas@tuxteam.de \
--cc=help-gnu-emacs@gnu.org \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.