PGL services: Difference between revisions
No edit summary |
|||
Line 121: | Line 121: | ||
This takes in a u64 mem_size, and uses it as input to pm:shell->BoostSystemMemoryResourceLimit | This takes in a u64 mem_size, and uses it as input to pm:shell->BoostSystemMemoryResourceLimit | ||
=== EnableApplicationCrashReport === | |||
This calls pm:shell->GetApplicationProcessId. If the returned process ID is tracked, this sets or clears bit 1 (value 0x2) in the tracked process's flags. | |||
When a process crash event occurs and pgl launches crash report, the second argument is "%d" formatted with the bitwise AND of this bit and bit 0 (value 0x1). | |||
LaunchFlags_EnableDetailedCrashReport causes the process to have both of these flags set, otherwise they are both zero. | |||
Thus this command is only useful for disabling/toggling detailed crash reports for applications launched with LaunchFlags_EnableDetailedCrashReport, as processes without the launch flag will always send "0" for the creport argument. | |||
=== IsApplicationCrashReportEnabled === | |||
This returns the value of the bit set or cleared by [[#EnableApplicationCrashReport]] | |||
=== EnableApplicationAllThreadDumpOnCrash === | |||
=== TriggerSnapShotDumper === | |||
== IEventObserver == | == IEventObserver == |