[0/5] trace-cmd reset fixes
mbox series

Message ID 20181213142125.12149-1-tstoyanov@vmware.com
Headers show
Series
  • trace-cmd reset fixes
Related show

Message

Tzvetomir Stoyanov Dec. 13, 2018, 2:21 p.m. UTC
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(-)

Comments

Slavomir Kaslev March 5, 2019, 1:24 p.m. UTC | #1
On Thu, Dec 13, 2018 at 4:22 PM Tzvetomir Stoyanov <tstoyanov@vmware.com> wrote:
>
> 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(-)

All 5 patches seems good to me

Reviewed-by: Slavomir Kaslev <kaslevs@vmware.com>

Thank you,

-- Slavi