使用Logman收集数据 [英] Using logman to collect data

查看:566
本文介绍了使用Logman收集数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试使用logman而不是DDK跟踪日志来收集由我的使用WPP的应用程序生成的* .etl数据,但在读取etl文件并解码* .fmt信息后无法看到任何数据(在* .etl中)通过使用traceview.

I try to use logman instead of DDK tracelog for colecting *.etl data produced by my application that uses WPP but was not able to see any data (in *.etl) after reading the etl file and decoding *.fmt information by using traceview.

我做错了什么?我这样生成* etl

What am I doing wrong? I generate *etl like this

logman开始会话" -o"Trace.etl" -p"{28EE579B-CF67-43b6-9D19-8930E7AAA131}" -ets logman停止会话" -ets

logman start "Session" -o "Trace.etl" -p "{28EE579B-CF67-43b6-9D19-8930E7AAA131}" -ets logman stop "Session" -ets

当使用traceview打开生成的Trace.etl时,它不会仅显示没有收集的数据而显示错误.

When opening with traceview the generated Trace.etl it shows not errors only that there is no collected data there.

我指定我使用mofcompiler在系统上注册了生成的* .mof文件,并且直接使用traceview可以看到数据.

I specify that I registered my generated *.mof file using mofcompiler on the system and that by using traceview directly I can see data.

推荐答案

问题是我没有指定任何标志,因此(WPP消息设置了标志,我看不到任何数据)的事实

The problem was the fact that I didn't specify any flags and because of that (WPP messages being with flags set I was not seeing any data:

>

logman start"Session" -o"Trace.etl" -p"{28EE579B-CF67-43b6-9D19-8930E7AAA131}" 0xFFFF -ets logman stop"Session" -ets

logman start "Session" -o "Trace.etl" -p "{28EE579B-CF67-43b6-9D19-8930E7AAA131}" 0xFFFF -ets logman stop "Session" -ets

这篇关于使用Logman收集数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆