Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7664505
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T14:19:25+00:00 2026-05-31T14:19:25+00:00

I am trying to somehow log (programmatically or to a log file) every system

  • 0

I am trying to somehow log (programmatically or to a log file) every system call which a select number of processes call during a given time span. Using the answer to Is there something like linux ptrace syscall in Windows?, I have been able to correctly use ETW to trace all of the system calls being called into an etl file, which I can then translate to an XML file using tracerpt. Looking at the XML files and the other formats available, however, I’ve found two major issues:

  1. The system calls are given in terms of the memory address to the call, but I can’t seem to find any good way of translating these addresses to names. For reference, a sample system call address is 0xFFFFF80002AC22BC.

  2. All of the process IDs are set to 0xFFFFFFFF, yet it seems as if the system calls are being logged for all processes, not just the process which started the trace. How should I determine which process made which system call, or at least filter to a single or a select number of processes which I want to trace?

Does anyone have any solutions to the above issues, or, even better, some sample code which might take one of these log file formats that tracerpt can output and put it into a human readable and usable format?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T14:19:26+00:00Added an answer on May 31, 2026 at 2:19 pm

    So I think, after looking around, I’ve been able to resolve these issues in a way that at least makes it useful (although sadly not useful to me because of other issues).

    1. The addresses are consistent, and I have a theory that these addresses are a constant offset inside of the library’s image on memory, so all you would need to do is take the difference from the address to the library it belongs to, and that could map directly to the name of the system call manually, or you could use a symbol table for the executable to find the name. Neither of these has been tested by me, but seem to be the way to go after looking at it.

    2. To find what process is making the system call, as you go through the log, if you include context switch information, you know what process is on which core at which time, and each system call includes what core the system call is occurring on, so that will give you the thread which is calling the system call accurately.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to disable log output from all external libraries in logback-test.xml. Somehow it
I'm trying to find a nice way to read a log file in real
I'm trying to do some variable expansion in bash but somehow the result is
I'm trying to post to a webpage using WebClient in C#. Somehow the parameters
I am trying to Google for what I've mentioned in the title, but somehow
Trying to make a make generic select control that I can dynamically add elements
I am trying to log into a site and load a webpage programatically in
I'm trying to implement a simple method to read new lines from a log
I'm querying a very large activity log in a MySQL database, trying to figure
i have a logfile which is saved as {time} | {name} | {value1} {time}

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.