473,408 Members | 1,821 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Tool to trace function calls

Hello,
I am looking for a tool like strace or ltrace that accounts every 'call'
on x86 executables. Maybe has valgrind such a option?

Thomas
Nov 15 '05 #1
3 3055
Thomas Glanzmann wrote:
Hello,
I am looking for a tool like strace or ltrace that accounts every 'call'
on x86 executables. Maybe has valgrind such a option?

Thomas


As such things are inherently platform-specific, posting to a newsgroup
specific to your platform would be best; tools are not topical here.

HTH,
--ag
--
Artie Gold -- Austin, Texas
http://it-matters.blogspot.com (new post 12/5)
http://www.cafepress.com/goldsays
Nov 15 '05 #2
Thomas Glanzmann wrote:
I am looking for a tool like strace or ltrace that accounts every 'call'
on x86 executables. Maybe has valgrind such a option?


A call graph? man gprof
Nov 15 '05 #3
Thomas Glanzmann (in
sl*********************@faui00u.info...ni-erlangen.de) said:

| I am looking for a tool like strace or ltrace that accounts every
| 'call' on x86 executables. Maybe has valgrind such a option?

Thomas...

Hmm. I wrote a small trace utility to trace calls to malloc() and
friends. It should be possible to use that as a model for code to
trace an arbitrary set of functions. If interested, you can find the
source at http://www.iedu.com/mrd/c/mtrace.c - have fun! :-)

--
Morris Dovey
DeSoto, Iowa USA
C links at http://www.iedu.com/c/
Nov 15 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: rl | last post by:
Hi out there, I'd like to know sth about the costs of a function call in php and the handling of character arrays (init size, enlargement steps of allocated memory, technique on enlargement ->...
2
by: Stormbringer | last post by:
Greetings, I've been wondering if there is a mechanism similar to trace/untrace found in lisp, for example call trace(function-name) and whenever this function is called it will show its...
0
by: harold fellermann | last post by:
Hi all, I am trying to write a script that prints out the signatures of each function call that occurs during the execution of a second script which is invoked by my program. i.e. if the...
10
by: Michael | last post by:
Guys, I'm interested in how the compiler implements function calls, can anyone correct my understanding/point me towards some good articles. When a function is called, is the stack pointer...
4
by: atv | last post by:
Whatis the proper way to handle errors from function calls? For example, i normally have a main function, with calls to mine or c functions. Should i check for errors in the functions called...
0
by: Joerg Schoen | last post by:
Hi folks! "JSCPP" is a ANSI-C preprocessor and language parser. It can analyze or instrument C-code. The most prominent application currently is to add function trace calls to existing C...
6
by: Dasn | last post by:
Hi, there. 'lines' is a large list of strings each of which is seperated by '\t' I wanna split each string into a list. For speed, using map() instead of 'for' loop. 'map(str.split, lines)'...
5
by: thorsten.schilling | last post by:
Hello, does anybody know a "tool" or an easy method to measure the count of function/member function calls? I just would like some kind of statistic or raw numbers, how often a specific function...
8
by: nospam | last post by:
I have a C binary which is built from numerous .c and .h source files. How can I trace through which functions are being called when I execute the binary? Ideally I'd like to just see the function...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.