Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756425AbcKVUU5 (ORCPT ); Tue, 22 Nov 2016 15:20:57 -0500 Received: from mx1.redhat.com ([209.132.183.28]:46956 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756026AbcKVUU4 (ORCPT ); Tue, 22 Nov 2016 15:20:56 -0500 From: Luiz Capitulino To: rostedt@goodmis.org Cc: linux-kernel@vger.kernel.org Subject: [PATCH v2 0/2] trace-cmd record: add --cpu-list option Date: Tue, 22 Nov 2016 15:20:50 -0500 Message-Id: <1479846052-8020-1-git-send-email-lcapitulino@redhat.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Tue, 22 Nov 2016 20:20:55 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 747 Lines: 28 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