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]

Storing lists of CPU on/off times


Hi,

I want to store a per process list of CPU on/off times. So in probe
scheduler.cpu_on I had hoped to do something like:

timestamps[execname()][count] = gettimeofday_us()
count++

This above is illegal but illustrates what I'm trying to do. Can it be done?

Thanks.


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