From patchwork Wed Sep 25 11:08:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Tzvetomir Stoyanov (VMware)" X-Patchwork-Id: 11160421 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DE8CF912 for ; Wed, 25 Sep 2019 11:08:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B908B2082F for ; Wed, 25 Sep 2019 11:08:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="GBZ6RXrk" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404301AbfIYLI3 (ORCPT ); Wed, 25 Sep 2019 07:08:29 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:39905 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730191AbfIYLI3 (ORCPT ); Wed, 25 Sep 2019 07:08:29 -0400 Received: by mail-wm1-f66.google.com with SMTP id v17so4356077wml.4 for ; Wed, 25 Sep 2019 04:08:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=PftMYStab7hDUmSefaStno00LgM+2CuYNwg+6kDkE3U=; b=GBZ6RXrkjg+/t1yeaMSTeWPSwpWy0XiyqxPIkknK4B8kBM+w3j90FyDulh2AxxePk5 djUeT7Oov0bMdFrQlOfX63wSIYSrWZPsL+cxU+zynoOyDOxaGFEsCQ9CW07Ds8jlEPLf Wn+cNTnHSEKp2vbcRpS3WZuRrPttIeb4fIqzVi94E4slPW975NgIlNa2/jbvyQN05v5z tEtgSF3TRPsArD6bjqFnhd67LAvffSgYH71yoiNPiKDy0RG76XwtbD1B/t84XXB5W4RJ qIqz8EP+dPaxeoTaec0DF9mrvCjbH0ppMQ5UNnnQwt9D7Hw4Ci2GE9hFQc3tDTmZ2VBy m20w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=PftMYStab7hDUmSefaStno00LgM+2CuYNwg+6kDkE3U=; b=cvhbjqEWGcf6VuQGB4nJ3heGf1WacKN98BhYAgo9lASTmmJT4dvanAqpvh0aRrWAT7 eGAFOLLjeck1DSqEpbwUomwfMEJkOGaw9qhgtFrZazD4ZZ57uP+VcLaVOT2itZfMB0ba vhBLBm+OPo61f/Qk/Tvtxn202/2ZUXHP6utgvqd32GQkK17Bra2UZsyZWCS7Je2awxC5 pREkMHRGE4I0AnALPvlRTJWKxD7QAlDCbw2M/DRsYJZyAwRgjmnx3DbfE2O1Uf9VxMyF pmIvuwRoxHo0aPerC9Cvd51Z5T0JNLjm7/orLRzDXNtxzLXprcoLESusjOYhwCDOp0LO gidw== X-Gm-Message-State: APjAAAUmO5ycxMO11u4wcdt5ITLXsTUy/gRGJXPSM2gDQUz9Rzrqxc3M fmeCGgnfD6zlLwkShgUZ4Grs3V9G X-Google-Smtp-Source: APXvYqyn2mpRPjDslJ/KeU5OIx8bi82FhjM8vctCiDdVMkinxHqYqVPDLuJM5uD14bG6jhM53UYFlA== X-Received: by 2002:a1c:c506:: with SMTP id v6mr6738979wmf.160.1569409707089; Wed, 25 Sep 2019 04:08:27 -0700 (PDT) Received: from oberon.eng.vmware.com ([146.247.46.5]) by smtp.gmail.com with ESMTPSA id t13sm12277619wra.70.2019.09.25.04.08.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2019 04:08:26 -0700 (PDT) From: "Tzvetomir Stoyanov (VMware)" To: rostedt@goodmis.org Cc: linux-trace-devel@vger.kernel.org Subject: [PATCH 0/2] Reset CPU mask Date: Wed, 25 Sep 2019 14:08:21 +0300 Message-Id: <20190925110823.1242-1-tz.stoyanov@gmail.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Sender: linux-trace-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-trace-devel@vger.kernel.org Reset CPU mask: - After setting it in trace-cmd record with option -M, to its previous value. - By the "trace-cmd reset" command, to its default value - all CPUs are enabled for tracing. Fixes https://bugzilla.kernel.org/show_bug.cgi?id=204941 Tzvetomir Stoyanov (VMware) (2): trace-cmd: Reset CPU mask after setting it in trace-cmd record with option -M trace-cmd: Reset CPU mask to its default value with "trace-cmd reset". tracecmd/trace-record.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)