Partager via


Support::StartTracing method

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

Syntax

virtual HRESULT StartTracing(
  [in] LPCWSTR profileFileName,
  [in] LPCWSTR profileName
) = 0;

Parameters

profileFileName [in]

The name of the WPA file that contains the profile.

profileName [in]

The name of the WPA profile to use for tracing.

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 begins an advanced ETW tracing session using a profile from WPA.

Managed code uses the Support.StartTracing 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

StopTracing