Re: [PATCH v1 7/10] Uprobes Implementation

Frank Ch. Eigler
2010-03-23T15:27:57Z

Hi -

> > Now the question is, where the complexity needs to be.
>
> Both in-tree consumers of uprobes (ftrace and perf) are capable of task
> filters. [...]

If you wish this new uprobes to be useful to tools such as gdb,
remember the value of preserving the property that processes not being
debugged are not to be interfered with. You don't want a DoS due to
some guy setting ten thousand breakpoints on glibc. Such
considerations should overrule perf/ftrace's simplifying assumptions
that after-the-fact event filtering is surely always sufficient.

- FChE