This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Probing CPU attached kernel variable


Hi;

I'm trying to probe CPU attached kernel variable with Systemtap. To be
specific, I'd like to read variable 

__get_cpu_var(netdev_rx_stat).total++ within function netif_rx () at kernel
file ./net/core/dev.c.

Any sample scripts or tips for the goal would be highly appreciated.

Joon



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]