Re: [PATCH 1/2] trace-cmd: Optimize how pid filters are expressed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 15, 2019 at 1:43 PM Slavomir Kaslev <kaslevs@xxxxxxxxxx> wrote:
>
> Express pid filters as allowed/disallowed filter ranges
>
>   (pid>=100&&pid<=103)
>
> instead of specifying them per pid
>
>   (pid==100||pid==101||pid==102||pid==103)
>
> This makes the size of the resulting filter smaller (and faster) and avoids
> overflowing the filter size limit of one page which we can hit on bigger
> machines (say >160 CPUs).
>
> Signed-off-by: Slavomir Kaslev <kaslevs@xxxxxxxxxx>

I missed to add some tags:

Reported-by: Phil Auld <pauld@xxxxxxxxxx>
Suggested-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>

-- Slavi




[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux