lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <bc915a051001131821x6cdd3470lf72e8c02a897ea3@mail.gmail.com>
Date:	Wed, 13 Jan 2010 18:21:20 -0800
From:	Joshua Pincus <joshua.pincus@...il.com>
To:	Andi Kleen <andi@...stfloor.org>
Cc:	Frederic Weisbecker <fweisbec@...il.com>,
	"K.Prasad" <prasad@...ux.vnet.ibm.com>, peterz@...radead.org,
	paulus@...ba.org, acme@...hat.com, linux-kernel@...r.kernel.org
Subject: Re: HW breakpoints perf_events request

Hi,

On Wed, Jan 13, 2010 at 6:15 PM, Andi Kleen <andi@...stfloor.org> wrote:
> Joshua Pincus <joshua.pincus@...il.com> writes:
>
>> I have a request for an additional feature to be included
>> in the recent hardware breakpoints work soon to be delivered
>> in kernel 2.6.33.
>
> Sounds to me like the existing ptrace based interface
> can practically all you want
>
> (except that the "parent signal" would be wait and for
> fork/exec you have to explicitely attach)

We would like to avoid using ptrace at all costs.
It requires us to have a parent thread running
which monitors all the others.  It's not clear that
the wait() call by the parent doesn't mask a barrage
of signals from various threads and the performance
penalty is huge in multi-threaded apps.

If we could get this functionality working w/o ptrace,
we'd be very, very happy and grateful.

>
> -Andi
>

Thanks,
JP
--
On Wed, Jan 13, 2010 at 6:15 PM, Andi Kleen <andi@...stfloor.org> wrote:
> Joshua Pincus <joshua.pincus@...il.com> writes:
>
>> I have a request for an additional feature to be included
>> in the recent hardware breakpoints work soon to be delivered
>> in kernel 2.6.33.
>
> Sounds to me like the existing ptrace based interface
> can practically all you want
>
> (except that the "parent signal" would be wait and for
> fork/exec you have to explicitely attach)
>
> -Andi
>
> --
> ak@...ux.intel.com -- Speaking for myself only.
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ