Share via


Support::StopTracing method

Finishes advanced ETW tracing using a Windows Performance Analyzer (WPA) profile.

Syntax

virtual HRESULT StopTracing(
  [in] LPCWSTR profileFileName,
  [in] LPCWSTR propertyName,
  [in] LPCWSTR outputFileName
) = 0;

Parameters

profileFileName [in]

The name of the WPA file that contains the profile.

propertyName [in]

The name of the property.

outputFileName [in]

The name of the file that will be created containing the tracing session.

Return value

If the function succeeds, it returns S_OK. If it fails, it returns an error value.

Remarks

This method does not trace data to the Axe ETW logging session. Instead, it finishes an advanced ETW tracing session using a profile from WPA.

Managed code uses Support.StopTracing method.

Requirements

Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]
Header
AxeRuntime.h
DLL
AxeCore.dll

See also

Support

StartTracing