mbox series

[v4,0/2] Optimize pid filters

Message ID 20190417130959.10064-1-kaslevs@vmware.com (mailing list archive)
Headers show
Series Optimize pid filters | expand

Message

Slavomir Kaslev April 17, 2019, 1:09 p.m. UTC
This patchset optimizes how pid filters are expressed and makes it less likely
that we overflow ftrace filters' size limit of one page.

Changes since v3:
Addressed Steven's review feedback
Add section about --no-filter to `trace-cmd record`'s man page
Dropped the patch adding --no-filter since Steven has already applied it

Changes since v2:

Append exclude rules with &&

Changes since v1:

Add missing tags
Fix append_filter_pid_range() callers to pass valid range as [min,max]

Slavomir Kaslev (2):
  trace-cmd: Optimize how pid filters are expressed
  trace-cmd: Document record --no-filter option in record's man page

 Documentation/trace-cmd-record.1.txt |   4 +
 tracecmd/trace-record.c              | 117 ++++++++++++++++++---------
 2 files changed, 85 insertions(+), 36 deletions(-)