Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(933)

Unified Diff: src/pkg/runtime/windows/386/signal.c

Issue 4960057: code review 4960057: runtime: implement pprof support for windows (Closed)
Patch Set: diff -r b80728111ff9 https://go.googlecode.com/hg/ Created 12 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/pkg/runtime/windows/386/signal.c
===================================================================
--- a/src/pkg/runtime/windows/386/signal.c
+++ b/src/pkg/runtime/windows/386/signal.c
@@ -90,9 +90,7 @@
}
void
-runtime·resetcpuprofiler(int32 hz)
+runtime·dosigprof(Context *r, G *gp)
{
- // TODO: Enable profiling interrupts.
-
- m->profilehz = hz;
+ runtime·sigprof((uint8*)r->Eip, (uint8*)r->Esp, nil, gp);
}

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b