Help answer threads with 0 replies.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 05-23-2009, 01:01 AM   #1
Registered: Dec 2006
Posts: 575

Rep: Reputation: 31
Strace Linux System Call

Hello to all, how strace system call is really helpful in debugging ?

Old 05-23-2009, 04:26 AM   #2
HCL Maintainer
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 74
Strace is not a system call, but rather a program which prints out all the system calls made by program you are debugging (this notifies you of the arguments, return values, errors, etc. obtained from the system calls).

A similar program called ltrace will print out all (or selected) shared library calls (e.g., libc) made by your running program.
Old 05-25-2009, 01:12 AM   #3
Registered: Dec 2006
Posts: 575

Original Poster
Rep: Reputation: 31


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to call system call from usb driver's code Mr.J Linux - Kernel 4 09-29-2008 04:47 AM
How can i make centos 4.5's system call using vDSO(call *%gs:0x10) instead of int80 tclwp Red Hat 3 08-06-2007 01:07 AM
list file system linux supports "please give the command or system call" varun_shrivastava Linux - General 4 01-09-2007 08:28 AM
how to use ls in a system call in C in linux newguy21 Programming 15 08-01-2004 02:38 PM
C system call in linux nerak Programming 6 04-10-2002 04:04 PM

All times are GMT -5. The time now is 10:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration