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 two patches are refactorings needed to make --cpu-list support fit nicely. The third patch adds the new option. Luiz Capitulino (3): cpu.h: use standard types instead of glib's trace-cmd record: refactor set_mask() trace-cmd record: add --cpu-list option Documentation/trace-cmd-record.1.txt | 4 + cpu.h | 47 +++++---- trace-local.h | 2 +- trace-record.c | 191 +++++++++++++++++++++++++++++++---- 4 files changed, 201 insertions(+), 43 deletions(-) -- 2.5.5