Commit Graph

5 Commits

Author SHA1 Message Date
Nicholas Nethercote
c5d67f0fc9 Bug 1384819 (part 1) - Split MozStackWalk(). r=glandium.
MozStackWalk() is different on Windows to the other platforms. It has two extra
arguments, which can be used to walk the stack of a different thread.

This patch makes those differences clearer. Instead of having a single function
and forbidding those two arguments on non-Windows, it removes those arguments
from MozStackWalk, and splits off MozStackWalkThread() which retains them. This
also allows those arguments to have more appropriate types (HANDLE instead of
uintptr_t; CONTEXT* instead of than void*) and names (aContext instead of
aPlatformData).

The patch also removes unnecessary reinterpret_casts for the aClosure argument
at a couple of MozStackWalk() callsites.
2017-07-27 12:46:47 +10:00
Iaroslav (yarik) Sheptykin
6f8ac1bdef Bug 1371927: Build KeyedStackCapture only if profiler enabled. r=gfritzsche
MozReview-Commit-ID: 9IoVY2K5hXc
2017-06-10 19:59:16 +02:00
Carsten "Tomcat" Book
f255f33b09 Backed out changeset 86bec347e28b (bug 1371927) on request from gfritsche 2017-06-13 11:11:14 +02:00
Iaroslav (yarik) Sheptykin
2383299032 Bug 1371927: Build KeyedStackCapture only if profiler enabled. r=gfritzsche
MozReview-Commit-ID: 9IoVY2K5hXc
2017-06-10 19:59:16 +02:00
Iaroslav (yarik) Sheptykin
d0c385e8c6 Bug 1335461: Pulling out stack capturing into standalone files. r=gfritzsche
MozReview-Commit-ID: APuclfFyJri
2017-06-01 09:36:51 +02:00