do I need to recompile modutils if i modify 'struct module'?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

I'd like to track memory usage for each module. For that I'd like to allocate a struct and refer this struct whenever module does kmalloc/kfree. How do I install this pointer into module? Can I allocate 4 more bytes at the end of 'module_core' (but keep 'core_size' untouched) or can I define a field at the end of 'struct module'? Whichever way I do, do I need to rebuild modutils? This is in 2.6 kernel.

thanks very much for your help.


----- Original Message ----
From: David Miller <davem@xxxxxxxxxxxxx>
To: gavin.malin@xxxxxxxxx
Cc: linux-net@xxxxxxxxxxxxxxx
Sent: Friday, July 28, 2006 3:16:44 AM
Subject: Re: TCP-FACK and CWND


The linux-net list typically is for user related questions, your
question is better directed at the developers of the Linux networking
who discuss things on netdev@xxxxxxxxxxxxxxx

So please direct your question there, thanks.
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux