Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S941237AbcJGQrw (ORCPT ); Fri, 7 Oct 2016 12:47:52 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46082 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964983AbcJGQrT (ORCPT ); Fri, 7 Oct 2016 12:47:19 -0400 From: Luiz Capitulino To: rostedt@goodmis.org Cc: linux-kernel@vger.kernel.org Subject: [PATCH 0/3] trace-cmd record: add --cpu-list option Date: Fri, 7 Oct 2016 12:47:08 -0400 Message-Id: <1475858831-32687-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.28]); Fri, 07 Oct 2016 16:47:19 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 707 Lines: 22 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