Re: [PATCH] trace-cmd: record crashes if -f is used before -e event.

2016-07-15 Thread Steven Rostedt
On Wed, 18 Nov 2015 00:57:14 +0100 (CET) John Kacur wrote: > On Mon, 20 Jul 2015, Daniel Bristot de Oliveira wrote: > > > The trace-cmd record command is crashing if a -f filter is used before > > a -e event. > > > > The usage a -f before a -e is a command line error, and

Re: [PATCH] trace-cmd: record crashes if -f is used before -e event.

2016-07-15 Thread Steven Rostedt
On Wed, 18 Nov 2015 00:57:14 +0100 (CET) John Kacur wrote: > On Mon, 20 Jul 2015, Daniel Bristot de Oliveira wrote: > > > The trace-cmd record command is crashing if a -f filter is used before > > a -e event. > > > > The usage a -f before a -e is a command line error, and trace-cmd > > record

Re: [PATCH] trace-cmd: record crashes if -f is used before -e event.

2015-11-17 Thread John Kacur
On Mon, 20 Jul 2015, Daniel Bristot de Oliveira wrote: > The trace-cmd record command is crashing if a -f filter is used before > a -e event. > > The usage a -f before a -e is a command line error, and trace-cmd > record detects this error by checking if the last_event pointer is NULL. > >

Re: [PATCH] trace-cmd: record crashes if -f is used before -e event.

2015-11-17 Thread John Kacur
On Mon, 20 Jul 2015, Daniel Bristot de Oliveira wrote: > The trace-cmd record command is crashing if a -f filter is used before > a -e event. > > The usage a -f before a -e is a command line error, and trace-cmd > record detects this error by checking if the last_event pointer is NULL. > >

[PATCH] trace-cmd: record crashes if -f is used before -e event.

2015-07-20 Thread Daniel Bristot de Oliveira
The trace-cmd record command is crashing if a -f filter is used before a -e event. The usage a -f before a -e is a command line error, and trace-cmd record detects this error by checking if the last_event pointer is NULL. However, the last_event is not initialized as NULL and this command line

[PATCH] trace-cmd: record crashes if -f is used before -e event.

2015-07-20 Thread Daniel Bristot de Oliveira
The trace-cmd record command is crashing if a -f filter is used before a -e event. The usage a -f before a -e is a command line error, and trace-cmd record detects this error by checking if the last_event pointer is NULL. However, the last_event is not initialized as NULL and this command line