Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 See also  





2 References  














ktrace






Čeština
Español

 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


ktrace
Written inC[1]
Operating systemBSD Unix and Mac OS X
Available inEnglish
TypeTracing

ktrace is a utility included with certain versions of BSD Unix and Mac OS X that traces kernel interaction with a program and dumps it to disk for the purposes of debugging and analysis. Traced kernel operations include system calls, name translations, signal processing, and I/O.[2]

Trace files generated by ktrace (named ktrace.out by default) can be viewed in human-readable form by using the kdump utility.[3]

Since Mac OS X Leopard, ktrace has been replaced by DTrace.[4] The identically-named ktrace program in recent macOS versions does not have the same functions as this utility.

See also

[edit]

References

[edit]
  1. ^ "C source of ktrace utility in FreeBSD". cgit.freebsd.org. Retrieved 2024-03-07.
  • ^ "ktrace(1) manpage". freebsd.org. 2012-05-31. Retrieved 2014-07-23.
  • ^ "kdump(1) manpage". freebsd.org. 2014-03-28. Retrieved 2014-07-23.
  • ^ "What happened to ktrace and kdump". discussions.apple.com. 2008-10-17.

  • t
  • e
  • t
  • e

  • Retrieved from "https://en.wikipedia.org/w/index.php?title=Ktrace&oldid=1212715911"

    Categories: 
    Macintosh software stubs
    Unix stubs
    Unix programming tools
    Hidden categories: 
    Articles with short description
    Short description with empty Wikidata description
    All stub articles
     



    This page was last edited on 9 March 2024, at 07:03 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki