---
title: "How to Collect a Debug Log for StellarEnforce (SPLM) Performance Issues"
slug: "collect-a-debug-log-for-stellarenforce-splm-performance-issues"
description: "EndpointProtection/StellarEnforce/ready_to_release/HelpCenter"
tags: ["StellarEnforce"]
updated: 2024-02-21T08:37:01Z
published: 2024-02-21T08:37:01Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://help.txone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Collect a Debug Log for StellarEnforce (SPLM) Performance Issues

### Summary

A step-by-step guide on how to collect a Debug Log for StellarEnforce (SPLM) Performance Issues. This can be achieved in two ways:

- Generate a Performance Report with StellarEnforce
- Set Up Windows Performance Recorder and Generate a Log

---

### Applicable Version

StellarEnforce 1.0 - 1.3

---

### Details

#### Generate a Performance Report with StellarEnforce

1. Stop StellarEnforce service. (Slcmd.exe stop service)
2. Create a registry value as follows:

```
HKEY_LOCAL_MACHINE\SOFTWARE\TrendMicro\SafeLock\2\DebugLog
“EnableProfiling”=dword:00000001
```

1. Start StellarEnforce service. (Slcmd.exe start service)
2. Perform some tasks related to the issue.
3. Stop StellarEnforce service. (Slcmd.exe stop service)
4. Find the file perf_report.logat <wk_installed_folder>\log.  

![image.png](https://cdn.document360.io/f5889a21-4b9d-49ff-a4a7-03538c6b843a/Images/Documentation/image%28261%29.png)

          
          

You don't need to enable debug logging to generate this report. In fact, it's advisable to disable debug logging while measuring performance.

#### Setting Up Windows Performance Recorder and Generating a Log

- Microsoft provides a tool called Windows Performance Recorder (WPR) that can record all activities on Windows.
- It is a part of the Windows Performance Toolkit, which is included in the Windows Assessment and Deployment Kit.
- If you are running a 64-bit OS, add the following registry setting and then reboot:

```
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\M
“DisablePagingExecutive”=DWORD:1
```

**Setting Up Windows Performance Recorder: Windows 8 and Later** Preparation

1. Download [Windows ADK for Windows 10](https://go.microsoft.com/fwlink/?linkid=2086042).
2. Select only Windows Performance Toolkit during the installation process.  

![image.png](https://cdn.document360.io/f5889a21-4b9d-49ff-a4a7-03538c6b843a/Images/Documentation/image%28262%29.png)

**Setting Up Windows Performance Recorder: Windows 7 and 2008 R2** Preparation

1. Download [Windows ADK for Windows 8](https://go.microsoft.com/fwlink/p/?LinkId=323507).
2. Select only Windows Performance Toolkit during the installation process.  

![image.png](https://cdn.document360.io/f5889a21-4b9d-49ff-a4a7-03538c6b843a/Images/Documentation/image%28263%29.png)

Recording Procedure for > Vista

1. Launch Windows Performance Recorder from the Start menu.
2. Under More options, select the following items:  

•	CPU usage  

•	Disk I/O activity  

•	File I/O activity  

•	Registry I/O activity  

•	Networking I/O activity  

•	Heap usage  

•	Pool usage
3. Change the Logging mode to File.
4. Click Start.
5. Execute the application(s) or task(s) that are related to the issue being reproduced.
6. After the issue has been reproduced, click Save.
7. Click Browse, specify the desired location for saved logs, then click Save.
8. Click Open Folder to get your ETL file, then compress it .

**Setting Up Windows Performance Toolkit 4.x: Windows Vista, Windows 2008, Windows 2003 SP1, and Windows XP SP2** Preparation

1. Request Windows Performance Toolkit 4.x from TXOne Networks.
2. If you are running a 64-bit OS, add the following registry setting and then reboot:

```
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\M
“DisablePagingExecutive”=DWORD:1
```

Recording Procedure for > Vista

```
[Start]
xperf -stop -d nul
xperf -on base+cswitch+dispatcher -stackwalk cswitch+profile+readythread -MinBuffers 128 -MaxBuffers 640 -BufferSize 1024

[Stop]
xperf -stop -d system.etl
```

Collect the **system.etl** .

---

 For further assistance, please contact us at support@txone.comor your support provider.
