Skip to content

Commit

Permalink
Merge pull request microsoft#7 from Microsoft/BluetoothTracingUpdate
Browse files Browse the repository at this point in the history
Bluetooth tracing update
  • Loading branch information
drache42 authored Apr 26, 2018
2 parents 2639164 + d2bf9f8 commit 8154e3d
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
Binary file modified bluetooth/tracing/BluetoothStack.wprp
Binary file not shown.
28 changes: 28 additions & 0 deletions bluetooth/tracing/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# How to collect bluetooth logs

## More info
wpr.exe is available on all version of windows. More details can be found [here.](https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-8.1-and-8/hh448229%28v%3dwin.10%29)

wpr.exe /? will also give you more information.

## Collecting logs

From an administrator command prompt:
1. Run as admin: "wpr.exe -start BluetoothStack.wprp"
2. Toggle the Bluetooth radio off-on via the quick action menu or force a power cycle of the remote device (we want the connection information).
3. Reproduce the issue.
4. Run as admin: "wpr.exe -stop bth_tracing.etl"

*Note: This will not continue tracing after a reboot*

## Collecting logs across reboots
From an administrator command prompt:
1. Run as admin: "wpr.exe -boottrace -addboot BluetoothStack.wprp"
2. Reboot machine
* Trace is not running until you reboot the machine
3. Reproduce the issue - log will keep running across reboots until you stop it manually
4. Run as admin: "wpr.exe -boottrace -stopboot bth_tracing.etl"

## Collecting logs for driver or setup issues
* Attach c:\windows\inf\setupapi.*.log and c:\Windows\Panther\setupact.log and c:\windows\logs\windowsupdate\* to the bug.
* Attach Microsoft-Windows-Kernel-PnP%4Configuration.evtx (In event viewer as Microsoft-Windows-Kernel-PnP\Configuration).

0 comments on commit 8154e3d

Please sign in to comment.