lkml.org 
[lkml]   [2016]   [Nov]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Subject[PATCH v2 0/2] trace-cmd record: add --cpu-list option
    Date

    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

    \
     
     \ /
      Last update: 2016-11-22 21:21    [W:2.467 / U:0.216 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site