TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Russell Coker
from: Brian May
date: 1996-05-06 19:11:24
subject: strace/2

PF> profile analysis tools to see which (and when,  if you 
 PF> like) the calls were made.

 RC>   That sounds good, it should solve half my problem 
 RC> (determining what system calls my programs are making). 
What use is this?

 RC>  But it won't allow me to determine what system calls 
 RC> other peoples programs are making.  In UNIX I often use 
 RC> strace to determine what programs do so I can tell what 
 RC> is going wrong when they just give strange error messages and exit...

Also, I find it sometimes helpful to know how Unix programs do certain
things when I don't know myself. eg "strace ls" shows exactly how
the ls command (under Linux) gets a list of available files, using readdir.

BTW, you might want to look at the following program, quoted from
XFree86/OS2 documentation:

"You can use the EWS utility EXEMAP.EXE to check if these DLLs are
linked in."

While this isn't exactly what you want, it does list all imported system
calls used by a program...


 RC>   Russell Coker

Brian May

--- Maximus/2 3.01
* Origin: The MBUG computer club, 61-3-755-2345 (3:633/362)
SEEN-BY: 50/99 78/0 620/243 632/348 998 633/154 260 362 363 371 373 374
SEEN-BY: 634/396 635/301 502 503 506 544 639/252 711/409 410 413 430 808 809
SEEN-BY: 711/934 955 712/515 713/888 800/1 7877/2809
@PATH: 633/362 260 371 635/503 50/99 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.