0

Possible Duplicate:
Monitoring pthread context switching

I have a program where under certain scheduling layout some strange things happen (a number of threads which do sched_yield seem to throttle each other in a strange manner).

I would like to take an exact trace of what is going on in terms of the OS scheduler slices on each CPU. Is there a way to capture such trace? I'm running SLES 11.1, with root privileges.

Community
  • 1
  • 1
Alexey Alexandrov
  • 2,951
  • 1
  • 24
  • 24
  • 1
    or [Any approach to show threads switch?](http://stackoverflow.com/questions/6906690/any-approach-to-show-threads-switch) – bdonlan Sep 30 '11 at 20:23

1 Answers1

1

This might be what you are looking for.

LordDoskias
  • 3,121
  • 3
  • 30
  • 44