From patchwork Thu Dec 13 14:21:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tzvetomir Stoyanov X-Patchwork-Id: 10760155 Return-Path: Received: from mail-eopbgr720078.outbound.protection.outlook.com ([40.107.72.78]:1332 "EHLO NAM05-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727618AbeLMOVk (ORCPT ); Thu, 13 Dec 2018 09:21:40 -0500 From: Tzvetomir Stoyanov To: "rostedt@goodmis.org" CC: "linux-trace-devel@vger.kernel.org" Subject: [PATCH 0/5] trace-cmd reset fixes Date: Thu, 13 Dec 2018 14:21:36 +0000 Message-ID: <20181213142125.12149-1-tstoyanov@vmware.com> Content-Language: en-US MIME-Version: 1.0 Sender: linux-trace-devel-owner@vger.kernel.org List-ID: This patch series fixes "trace-cmd reset" command to restore default values of various ftrace configurations: tracng_on, trace_clock, set_event_pid and tracing_max_latency. It also fixes a segfault when the command is executed with "-a -d" options. Tzvetomir Stoyanov (5): fix "trace-cmd reset" command to restore "tracng_on" fix "trace-cmd reset -a -d" segfault fix "trace-cmd reset" command to restore default clock fix "trace-cmd reset" command to restore the default value of set_event_pid fix "trace-cmd reset" command to restore the default value of tracing_max_latency tracecmd/trace-record.c | 37 ++++++++++++++++++++++++++++++++++--- 1 file changed, 34 insertions(+), 3 deletions(-) Reviewed-by: Slavomir Kaslev