David,
Is there enough marker support in CVS now that we can write scripts
against it? I tried using the latest CVS against a kernel with a few
markers, but I'm seeing errors.
Here's the script:
global sem_up_cnt
probe kernel.mark("sem_up") { sem_up_cnt++ }
probe end { printf("sem_up_cnt = %d\n", sem_up_cnt)}
Here's the marker I'm trying to access in __up() in semaphore-sleepers.c:
MARK(sem_down, "%ul", (unsigned long) sem);
Here are the errors I'm seeing:
semantic error: bad __markers_string section?
semantic error: no match for probe point while resolving probe point
kernel.mark("sem_up")
Should this work yet?