[LTP] [PATCH V2 9/9] ftrace_stress: cleanup and use ltp API

Chunyu Hu chuhu@redhat.com
Wed May 11 13:01:38 CEST 2016



----- Original Message -----
> From: "Cyril Hrubis" <chrubis@suse.cz>
> To: "Chunyu Hu" <chuhu@redhat.com>
> Cc: liwan@redhat.com, ltp@lists.linux.it
> Sent: Tuesday, May 10, 2016 10:13:00 PM
> Subject: Re: [LTP] [PATCH V2 9/9] ftrace_stress: cleanup and use ltp API
> 
> Hi!
> > After i changing it to kill directly and retest it, i hit err message:
> > 
> > ftrace_trace_pipe.sh: line 18: kill: SIGKILL: invalid signal specification
> 
> That is because POSIX only accepts symbolic names without the SIG prefix
> while kill from procps works with both.
> 
> The correct way to send SIGKILL is 'kill -KILL $pid'.

Thanks. Really makes sense.  Will fix it with V3-2. please ignore the previous V3. that's not complete
considering this.

> --
> Cyril Hrubis
> chrubis@suse.cz
> 

-- 
Regards,
Chunyu Hu



More information about the ltp mailing list