lkml.org 
[lkml]   [2021]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Process-wide watchpoints
On Thu, Feb 04, 2021 at 02:35:36PM +0100, Dmitry Vyukov wrote:

> I meant that we could restrict synchronous SIGTRAP for (1)
> perf_event_open(pid != 0) and (2) disable it after exec.

Hmm, I think I finally get what you're after. And yes, multi-process or
fork() based thingies are common and might well work too.

disable_on_exec isn't quite right though, it needs to be something that
kills the events entirely. I'll think about it.

\
 
 \ /
  Last update: 2021-02-04 16:09    [W:0.105 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site