lkml.org 
[lkml]   [2019]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ftrace global trace_pipe_raw
On Wed, 16 Jan 2019 09:00:00 +0100
Claudio <claudio.fontana@gliwa.com> wrote:

> Indeed the perf event interface would be awesome, if only it would support tracing all processes.
>
> Unfortunately for my use case, it can only trace one process on any cpus, or all processes on one (1) cpu.
>
> I guess for some kind of security concerns..

Not security, but performance.

Serialized writes are best done on serialized instances (per cpu or a
single task). Having all tasks on all CPUs write to a single location
is a huge detriment to performance, and has a significant impact. Which
is why the buffer you are asking for doesn't exist.

-- Steve


>
> I'll take a look at how much work it would be to extend the interface for the any process/any cpu use case.
>
> Ciao and thank you,
>
> Claudio
>
>

\
 
 \ /
  Last update: 2019-01-16 14:48    [W:0.079 / U:1.492 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site