Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1527894

[PATCH v2 0/2] trace-cmd record: add --cpu-list option

From Luiz Capitulino <lcapitulino@redhat.com>
Newsgroups linux.kernel
Subject [PATCH v2 0/2] trace-cmd record: add --cpu-list option
Date 2016-11-22 21:30 +0100
Message-ID <sGpRv-3CL-19@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/2] trace-cmd record: add --cpu-list option Luiz Capitulino <lcapitulino@redhat.com> - 2016-11-22 21:30 +0100
  [PATCH 1/2] trace-cmd record: refactor set_mask() Luiz Capitulino <lcapitulino@redhat.com> - 2016-11-22 21:30 +0100
  [PATCH 2/2] trace-cmd record: add --cpu-list option Luiz Capitulino <lcapitulino@redhat.com> - 2016-11-22 21:30 +0100

csiph-web