Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

292 lines
9.3 KiB

  1. <html>
  2. <head>
  3. <meta http-equiv=Content-Type content="text/html; charset=windows-1252">
  4. <meta name=Generator content="Microsoft Word 10 (filtered)">
  5. <title>Creating Trace Log Sessions</title>
  6. <style>
  7. <!--
  8. /* Font Definitions */
  9. @font-face
  10. {font-family:"MS Sans Serif";
  11. panose-1:0 0 0 0 0 0 0 0 0 0;}
  12. /* Style Definitions */
  13. p.MsoNormal, li.MsoNormal, div.MsoNormal
  14. {margin:0in;
  15. margin-bottom:.0001pt;
  16. font-size:12.0pt;
  17. font-family:"Times New Roman";}
  18. h1
  19. {margin-top:12.0pt;
  20. margin-right:0in;
  21. margin-bottom:3.0pt;
  22. margin-left:0in;
  23. page-break-after:avoid;
  24. font-size:16.0pt;
  25. font-family:Arial;
  26. font-weight:bold;}
  27. h3
  28. {margin-right:0in;
  29. margin-left:0in;
  30. font-size:13.5pt;
  31. font-family:"Times New Roman";
  32. font-weight:bold;}
  33. h4
  34. {margin-top:12.0pt;
  35. margin-right:0in;
  36. margin-bottom:3.0pt;
  37. margin-left:0in;
  38. page-break-after:avoid;
  39. font-size:14.0pt;
  40. font-family:"Times New Roman";
  41. font-weight:bold;}
  42. a:link, span.MsoHyperlink
  43. {color:blue;
  44. text-decoration:underline;}
  45. a:visited, span.MsoHyperlinkFollowed
  46. {color:blue;
  47. text-decoration:underline;}
  48. p
  49. {margin-right:0in;
  50. margin-left:0in;
  51. font-size:12.0pt;
  52. font-family:"Times New Roman";}
  53. @page Section1
  54. {size:8.5in 11.0in;
  55. margin:1.0in 1.25in 1.0in 1.25in;}
  56. div.Section1
  57. {page:Section1;}
  58. /* List Definitions */
  59. ol
  60. {margin-bottom:0in;}
  61. ul
  62. {margin-bottom:0in;}
  63. -->
  64. </style>
  65. </head>
  66. <body lang=EN-US link=blue vlink=blue>
  67. <div class=Section1>
  68. <h1><span style='font-size:24.0pt;font-family:"Times New Roman"'>Trace Event
  69. Consumption Interface</span></h1>
  70. <p>The TraceView command-line interface uses the following command-line syntax:</p>
  71. <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; traceview
  72. [action] [options] | [-h | -help | -?]</p>
  73. <p>The possible actions for the TraceView command-line interface are broken
  74. down into three categories:</p>
  75. <ul style='margin-top:0in' type=disc>
  76. <li class=MsoNormal>Control</li>
  77. <li class=MsoNormal>Consumption</li>
  78. <li class=MsoNormal style='margin-bottom:12.0pt'>Parsing</li>
  79. </ul>
  80. <p class=MsoNormal>The Consumption actions are used to control the receipt,
  81. formatting, and display of trace events from an active trace event provider or
  82. providers.&nbsp; The following table describes the trace event consumption
  83. interface options:</p>
  84. <p class=MsoNormal>&nbsp;</p>
  85. <p class=MsoNormal>&nbsp;</p>
  86. <table class=MsoTableGrid border=1 cellspacing=0 cellpadding=0 width=648
  87. style='width:6.75in;margin-left:-.05in;border-collapse:collapse;border:none'>
  88. <tr>
  89. <td width=192 valign=bottom style='width:2.0in;border:solid windowtext 1.0pt;
  90. padding:0in 5.4pt 0in 5.4pt'>
  91. <p>Consumption Actions:</p>
  92. </td>
  93. <td width=456 valign=bottom style='width:4.75in;border:solid windowtext 1.0pt;
  94. border-left:none;padding:0in 5.4pt 0in 5.4pt'>
  95. <p>&nbsp;</p>
  96. </td>
  97. </tr>
  98. <tr>
  99. <td width=192 valign=bottom style='width:2.0in;border:solid windowtext 1.0pt;
  100. border-top:none;padding:0in 5.4pt 0in 5.4pt'>
  101. <p>-process</p>
  102. </td>
  103. <td width=456 valign=bottom style='width:4.75in;border-top:none;border-left:
  104. none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  105. padding:0in 5.4pt 0in 5.4pt'>
  106. <p>Consume trace events</p>
  107. </td>
  108. </tr>
  109. <tr>
  110. <td width=192 valign=bottom style='width:2.0in;border:solid windowtext 1.0pt;
  111. border-top:none;padding:0in 5.4pt 0in 5.4pt'>
  112. <p>&nbsp;</p>
  113. </td>
  114. <td width=456 valign=bottom style='width:4.75in;border-top:none;border-left:
  115. none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  116. padding:0in 5.4pt 0in 5.4pt'>
  117. <p>&nbsp;</p>
  118. </td>
  119. </tr>
  120. <tr>
  121. <td width=192 valign=bottom style='width:2.0in;border:solid windowtext 1.0pt;
  122. border-top:none;padding:0in 5.4pt 0in 5.4pt'>
  123. <p>Consumption Options:</p>
  124. </td>
  125. <td width=456 valign=bottom style='width:4.75in;border-top:none;border-left:
  126. none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  127. padding:0in 5.4pt 0in 5.4pt'>
  128. <p>&nbsp;</p>
  129. </td>
  130. </tr>
  131. <tr>
  132. <td width=192 valign=bottom style='width:2.0in;border:solid windowtext 1.0pt;
  133. border-top:none;padding:0in 5.4pt 0in 5.4pt'>
  134. <p>-o &lt;file&gt;</p>
  135. </td>
  136. <td width=456 valign=bottom style='width:4.75in;border-top:none;border-left:
  137. none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  138. padding:0in 5.4pt 0in 5.4pt'>
  139. <p>Output filename for listing file</p>
  140. </td>
  141. </tr>
  142. <tr>
  143. <td width=192 valign=bottom style='width:2.0in;border:solid windowtext 1.0pt;
  144. border-top:none;padding:0in 5.4pt 0in 5.4pt'>
  145. <p>-display</p>
  146. </td>
  147. <td width=456 valign=bottom style='width:4.75in;border-top:none;border-left:
  148. none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  149. padding:0in 5.4pt 0in 5.4pt'>
  150. <p>Display output</p>
  151. </td>
  152. </tr>
  153. <tr>
  154. <td width=192 valign=bottom style='width:2.0in;border:solid windowtext 1.0pt;
  155. border-top:none;padding:0in 5.4pt 0in 5.4pt'>
  156. <p>-displayonly</p>
  157. </td>
  158. <td width=456 valign=bottom style='width:4.75in;border-top:none;border-left:
  159. none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  160. padding:0in 5.4pt 0in 5.4pt'>
  161. <p>Display output. Don't write to file</p>
  162. </td>
  163. </tr>
  164. <tr>
  165. <td width=192 valign=bottom style='width:2.0in;border:solid windowtext 1.0pt;
  166. border-top:none;padding:0in 5.4pt 0in 5.4pt'>
  167. <p>-nosummary</p>
  168. </td>
  169. <td width=456 valign=bottom style='width:4.75in;border-top:none;border-left:
  170. none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  171. padding:0in 5.4pt 0in 5.4pt'>
  172. <p>Don't create the summary file</p>
  173. </td>
  174. </tr>
  175. <tr>
  176. <td width=192 valign=bottom style='width:2.0in;border:solid windowtext 1.0pt;
  177. border-top:none;padding:0in 5.4pt 0in 5.4pt'>
  178. <p>-noprefix</p>
  179. </td>
  180. <td width=456 valign=bottom style='width:4.75in;border-top:none;border-left:
  181. none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  182. padding:0in 5.4pt 0in 5.4pt'>
  183. <p>Suppress any defined TRACE_FORMAT_PREFIX</p>
  184. </td>
  185. </tr>
  186. <tr>
  187. <td width=192 valign=bottom style='width:2.0in;border:solid windowtext 1.0pt;
  188. border-top:none;padding:0in 5.4pt 0in 5.4pt'>
  189. <p>-ods</p>
  190. </td>
  191. <td width=456 valign=bottom style='width:4.75in;border-top:none;border-left:
  192. none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  193. padding:0in 5.4pt 0in 5.4pt'>
  194. <p>Display output using OutputDebugString</p>
  195. </td>
  196. </tr>
  197. <tr>
  198. <td width=192 valign=bottom style='width:2.0in;border:solid windowtext 1.0pt;
  199. border-top:none;padding:0in 5.4pt 0in 5.4pt'>
  200. <p>-summaryonly</p>
  201. </td>
  202. <td width=456 valign=bottom style='width:4.75in;border-top:none;border-left:
  203. none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  204. padding:0in 5.4pt 0in 5.4pt'>
  205. <p>Don't create the listing file</p>
  206. </td>
  207. </tr>
  208. <tr>
  209. <td width=192 valign=bottom style='width:2.0in;border:solid windowtext 1.0pt;
  210. border-top:none;padding:0in 5.4pt 0in 5.4pt'>
  211. <p>-tmf &lt;file&gt;</p>
  212. </td>
  213. <td width=456 valign=bottom style='width:4.75in;border-top:none;border-left:
  214. none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  215. padding:0in 5.4pt 0in 5.4pt'>
  216. <p>Extract trace format information from specified TMF file</p>
  217. </td>
  218. </tr>
  219. <tr>
  220. <td width=192 valign=bottom style='width:2.0in;border:solid windowtext 1.0pt;
  221. border-top:none;padding:0in 5.4pt 0in 5.4pt'>
  222. <p>-pdb &lt;file&gt;</p>
  223. </td>
  224. <td width=456 valign=bottom style='width:4.75in;border-top:none;border-left:
  225. none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  226. padding:0in 5.4pt 0in 5.4pt'>
  227. <p>Extract trace format information from specified PDB file</p>
  228. </td>
  229. </tr>
  230. <tr>
  231. <td width=192 valign=bottom style='width:2.0in;border:solid windowtext 1.0pt;
  232. border-top:none;padding:0in 5.4pt 0in 5.4pt'>
  233. <p>-p &lt;path&gt;</p>
  234. </td>
  235. <td width=456 valign=bottom style='width:4.75in;border-top:none;border-left:
  236. none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  237. padding:0in 5.4pt 0in 5.4pt'>
  238. <p>TMF file search path</p>
  239. </td>
  240. </tr>
  241. <tr>
  242. <td width=192 valign=bottom style='width:2.0in;border:solid windowtext 1.0pt;
  243. border-top:none;padding:0in 5.4pt 0in 5.4pt'>
  244. <p>-v</p>
  245. </td>
  246. <td width=456 valign=bottom style='width:4.75in;border-top:none;border-left:
  247. none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  248. padding:0in 5.4pt 0in 5.4pt'>
  249. <p>Verbose Display</p>
  250. </td>
  251. </tr>
  252. </table>
  253. <p class=MsoNormal>&nbsp;</p>
  254. <p class=MsoNormal>&nbsp;</p>
  255. <p class=MsoNormal style='margin-left:.25in'>&nbsp;</p>
  256. <table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=873
  257. style='width:654.65pt'>
  258. <tr style='height:.05in'>
  259. <td style='background:aqua;padding:.75pt .75pt .75pt .75pt;height:.05in'>
  260. <p class=MsoNormal style='line-height:3.6pt'><span style='font-size:2.0pt'>&nbsp;</span></p>
  261. </td>
  262. </tr>
  263. </table>
  264. <p><b><span style='font-size:10.0pt;font-family:"MS Sans Serif"'>� Microsoft Corporation
  265. 2002</span></b></p>
  266. <h3><span style='font-weight:normal'>&nbsp;</span></h3>
  267. </div>
  268. </body>
  269. </html>