diff options
| author | Jeff Dike <[email protected]> | 2008-02-04 22:30:36 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-02-05 09:44:25 -0800 |
| commit | c11274655558e72d8d4a598c0077874c094d97d5 (patch) | |
| tree | c7d13b5aeb4994a1c03ec6a5edd723ba06fd94da /tools/perf/scripts/python | |
| parent | c9a3072d13e4b8a6549ecc1db6390a55c7ee2ddf (diff) | |
uml: implement get_wchan
Implement get_wchan - the algorithm is similar to x86. It starts with the
stack pointer of the process in question and looks above that for addresses
that are kernel text. The second one which isn't in the scheduler is the one
that's returned. The first one is ignored because that will be UML's own
context switching routine.
Signed-off-by: Jeff Dike <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions