Re: Effect of strace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi...

On Thu, May 22, 2008 at 12:39 PM, Peerless Deepak
<peerlessdriver@xxxxxxxxx> wrote:
> Hi all,
>
> I am wondered whether running a  application with strace will make it
> behave differently.
>
> My application on a ARM target board crashed consistently. The odd
> thing was the log file also disappears during the mishap.
>
> So I started the application with strace and captured the output using
> a serial output.
> But now the application which was frequently crashing without strace
> , is not crashing.
>
> No change was there in the environment and the code. Does strace
> affects the way?

most likely, your application will run slower due to effect of syscall
tracing (before entering kernel space and leaving kernel space back to
user space).

This slowing effect, sometimes make bugs related to race condition
disappears....or could be worse.

regards,

Mulyadi.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux