mbox series

[v2,0/2] Optimize pid filters and add --no-filter option

Message ID 20190415164739.17223-1-kaslevs@vmware.com (mailing list archive)
Headers show
Series Optimize pid filters and add --no-filter option | expand

Message

Slavomir Kaslev April 15, 2019, 4:47 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 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: Add --no-filter option to not filter recording processes

 tracecmd/trace-record.c | 129 +++++++++++++++++++++++++++-------------
 tracecmd/trace-usage.c  |   1 +
 2 files changed, 90 insertions(+), 40 deletions(-)