Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

253
Views
How to use linux perf to profile kernel modules and it's functions?

I am new to perf and I am trying to profile a kernel module that I've loaded. I am able to list all of the functions that can be probed with:

sudo perf probe -m "path_to_module" --funcs

but I am primarly interested in obtaining the entry time and exit time of a single function and all of it's children functions (ones called from the function I want).

I am able to set a probe at the beginning and the end of the function which is listed in the --funcs output but can't seem to understand how to observe the entry and exit points of all of it's children functions. Using sudo perf report --stdio I am able to see the call stack and some of the functions called from that probe but half of those functions are not available at --funcs output and some can't seem to get probed.

Is there a way to, given the kernel module path and choosing a function from the list of --funcs get the output of entry and exit times of that function and all of the children functions called from that function (the ones that belong to the kernel module anyway)?

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!