This series adds support for a --cpu-list option, which is
much more human friendly than -M:

  # trace-cmd record --cpu-list 1,4,10-15 [...]

The first patch is a small refectoring needed to
make --cpu-list support fit nicely. The second patch
adds the new option.

v2
--

- Use the CPU_SET() API instead of cpu.h, which
  makes the cpumask dynamic and avoid various bugs
- Small cleanups and renamings

Luiz Capitulino (2):
  trace-cmd record: refactor set_mask()
  trace-cmd record: add --cpu-list option

 Documentation/trace-cmd-record.1.txt |   4 +
 trace-local.h                        |   2 +-
 trace-record.c                       | 258 ++++++++++++++++++++++++++++++++---
 3 files changed, 245 insertions(+), 19 deletions(-)

-- 
2.5.5

Reply via email to