HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to trace dyn kernel modules with Caliper, WDB,...
Operating System - HP-UX
1833059
Members
2676
Online
110049
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2011 12:19 PM
03-09-2011 12:19 PM
How to trace dyn kernel modules with Caliper, WDB, etc?
I've been rummaging through documentation but so far I haven't found the magic incantation to trace or monitor the activity of dynamically-loaded kernel modules.
I seem to be able to watch static mods with ktracer, for example, but not dynamic mods. When I specify to trace the functions in a given mod.o, it complains that the functions aren't found in /stand/vmunix - well, duh.
Can someone help me out or point me in the right direction? Thanks!
I seem to be able to watch static mods with ktracer, for example, but not dynamic mods. When I specify to trace the functions in a given mod.o, it complains that the functions aren't found in /stand/vmunix - well, duh.
Can someone help me out or point me in the right direction? Thanks!
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2011 12:37 PM
03-09-2011 12:37 PM
Re: How to trace dyn kernel modules with Caliper, WDB, etc?
Are you using the -m option to specify the module in question? The docs read to me that this is what you want to do. While I still didn't enable tracing on the system I tried it on (which doesn't surprise me since the modules in /usr/conf/mod and the actual kernel are significantly different), it did look at the module and try to analyze said functions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2011 02:06 PM
03-09-2011 02:06 PM
Re: How to trace dyn kernel modules with Caliper, WDB, etc?
Yes, that's correct, I tried "-m."
I do kmadmin -s and see, for example, an fxsla module that's listed as LOADED.
Then ktracer -m fxsla tries to find it in /usr/conf/mod, which directory doesn't exist - maybe I have an old version? If I instead do "ktracer -m /usr/conf/km.d/fxsla/mod.o, then it goes through each function in the object saying "no function in vmunix matches given address." Does it perhaps need fxsla:function_name? I'll try that...
Or maybe something with kitrace?
I do kmadmin -s and see, for example, an fxsla module that's listed as LOADED.
Then ktracer -m fxsla tries to find it in /usr/conf/mod, which directory doesn't exist - maybe I have an old version? If I instead do "ktracer -m /usr/conf/km.d/fxsla/mod.o, then it goes through each function in the object saying "no function in vmunix matches given address." Does it perhaps need fxsla:function_name? I'll try that...
Or maybe something with kitrace?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2011 02:29 PM
03-09-2011 02:29 PM
Re: How to trace dyn kernel modules with Caliper, WDB, etc?
Hm, maybe since the one I'm interested in is a PCI card driver, perhaps I need to look at IO tools?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP