LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 02-02-2013, 10:20 AM   #1
PrinceCruise
Member
 
Registered: Aug 2009
Location: /Universe/Earth/India/Pune
Distribution: Slackware64 14.1/Current, CentOS 6.5/7.0
Posts: 785

Rep: Reputation: Disabled
No ltrace (Slackware 14.0)


Hello,

Is it me or Slackware doesn't come with ltrace utility? I see strace but no ltrace.
I can confirm it's presence in my CentOS 4 and 5 machine(not in 6).
Any pointers please?

Regards.
 
Old 02-02-2013, 12:12 PM   #2
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,110

Rep: Reputation: 810Reputation: 810Reputation: 810Reputation: 810Reputation: 810Reputation: 810Reputation: 810
Slackware does not come with ltrace; it's available at SlackBuilds.org (http://slackbuilds.org/repository/14...pment/latrace/.

Hope this helps some.
 
1 members found this post helpful.
Old 02-02-2013, 01:19 PM   #3
PrinceCruise
Member
 
Registered: Aug 2009
Location: /Universe/Earth/India/Pune
Distribution: Slackware64 14.1/Current, CentOS 6.5/7.0
Posts: 785

Original Poster
Rep: Reputation: Disabled
Yup, I had visited slackbuilds for ltrace and found latrace instead. I wasn't sure if it's the same package. Thanks for helping out.

Regards.
 
Old 02-02-2013, 01:41 PM   #4
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,110

Rep: Reputation: 810Reputation: 810Reputation: 810Reputation: 810Reputation: 810Reputation: 810Reputation: 810
Maybe you might want to give it a shot?
Quote:
DESCRIPTION
The latrace tracer is able to run a command and display its dynamic library calls
using a LD_AUDIT libc feature, available from libc version 2.4 onward. It is also
capable to measure and display various statistics of dynamic calls. See the section
called "DISCUSSION" for more details.

If the header file with functions' declarations is provided, latrace will display
functions's arguments. The header file file syntax is similar to the C language,
with several exceptions See the section called "HEADERS" for more details.

The latrace by default fully operates inside of the traced program. However another
"pipe mode" is available to move the main work to the tracer - the latrace binary.
See the section called "PIPE mode" for more details.

The latrace use is similar to strace(1) and ltrace(1).
Seems like it's pretty much the same idea.
 
Old 02-03-2013, 05:45 AM   #5
PrinceCruise
Member
 
Registered: Aug 2009
Location: /Universe/Earth/India/Pune
Distribution: Slackware64 14.1/Current, CentOS 6.5/7.0
Posts: 785

Original Poster
Rep: Reputation: Disabled
Installed. Will check out how does it work out compared to ltrace. Much thanks.

Regards.
 
  


Reply


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Making Slackware and Slackware Derivative Linux Distros Speak Your Language LXer Syndicated Linux News 0 01-29-2009 01:30 AM
About Slackware 9.1 boot disk?? ftp://ftp.kpn.be/pub/linux/slackware/slackware-9.1-is AL3OMDAH Slackware 4 04-18-2007 10:54 AM
ltrace..... kmcgavran Linux - Software 1 02-20-2007 12:13 AM


All times are GMT -5. The time now is 06:27 PM.

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