[PATCH v2 03/10] trace-cmd: Extracting record_trace()

2017-11-30 Thread Vladislav Valtchev (VMware)
This patch moves in a separate function almost all the code in trace_record() after the call of parse_record_options(). This is the last necessary preparation step before removing the command-multiplexing code from trace_record and allowing the commands 'start', 'extract', 'stream' and 'profile'

[PATCH v2 03/10] trace-cmd: Extracting record_trace()

2017-11-30 Thread Vladislav Valtchev (VMware)
This patch moves in a separate function almost all the code in trace_record() after the call of parse_record_options(). This is the last necessary preparation step before removing the command-multiplexing code from trace_record and allowing the commands 'start', 'extract', 'stream' and 'profile'