PC50 Ricky Buch Program Manager Microsoft Corporation Kevin Michael Woley Program Manager Microsoft Corporation.
Download ReportTranscript PC50 Ricky Buch Program Manager Microsoft Corporation Kevin Michael Woley Program Manager Microsoft Corporation.
PC50 Ricky Buch Program Manager Microsoft Corporation Kevin Michael Woley Program Manager Microsoft Corporation Kevin Michael Woley Program Manager Microsoft Corporation Instrumentation exposes internal OS and application state in a discoverable, easily consumable, standardized way Example Usages Performance Counters • Expose processing rates • Measure performance Data Types Data Consumption Strictly Numerical • Polled in real-time • Written to a log file Events • General notifications • Errors and warnings • Trace actions for debugging No restriction • Delivered in real-time • Written to a log file • Buffered in memory Applications can make use of both Performance Counters and Events Kevin Michael Woley Event Audience Developer Technology Event Control Max Event Rate WPP Manual High (10^4 / sec) Features • Easy Implementation • Requires symbollike files to decode Developer; IT Professional ETW Manual High (10^4 / sec) System Administrator • Declaratively defined in manifests • Programmatic Consumption • Discoverability • Localizable Strings • Flexible Data Model • Higher dev cost than WPP Same Features of ETW plus: • Remote Collection • Data Query Support • Inbox Tool Support • Centralized event logs • Reduced logging rate Event Log Always On Medium (10^2 - 10^4 / sec) Common API Set and Development Model Design your application’s events and counters with a goal in mind Win7: Event Logging Code Generation & Improved Manifest Validation 5 Steps 3 1 Design Design Create Instrumentation Manifest (ECMangen) XML Manifest Generate Code CTRPP / MC preprocessors 2 Instrumentation Definition .rc 5 Build .c .h New provider code Instrument provider APIs 4 Instrument Build New Provider Kevin Michael Woley Ricky Buch Program Manager Microsoft Corporation Troubleshooting is the process of detecting and resolving a problem Troubleshooting Packs detect and resolve configuration problems Ricky Buch Ricky Buch GUI Troubleshooting Packs CMD Troubleshooting Platform PowerShell Reports Identification Metadata Detection Scripts Troubleshooting Pack • Name and description • List of configuration issues • Security signature • Checks current configuration with expected configuration Resolution Scripts • Sets the current configuration to what is expected Verification Scripts •Verifies that current configuration is now what is expected Localized Resources • Contains localized display strings in MUI format Identification Metadata GUI CMD Detection Scripts Resolution Scripts Troubleshooting Platform Verification Scripts Localized Resources Reports • • • • Detect a problem Get input from user Provide progress Write to the report PowerShell Runtime Ricky Buch Troubleshooting Packs offer multiple deployment options. www.microsoftpdc.com © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.