Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/php/pecl-caching-wincache
Windows Cache Extension for PHP
https://github.com/php/pecl-caching-wincache
Last synced: 5 days ago
JSON representation
Windows Cache Extension for PHP
- Host: GitHub
- URL: https://github.com/php/pecl-caching-wincache
- Owner: php
- License: other
- Created: 2018-02-19T00:44:49.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-04-09T09:21:11.000Z (6 months ago)
- Last Synced: 2024-04-13T21:55:17.684Z (6 months ago)
- Language: C
- Homepage: https://pecl.php.net/package/wincache
- Size: 466 KB
- Stars: 6
- Watchers: 13
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.TXT
- License: LICENSE
Awesome Lists containing this project
README
ETW Tracing & Manifest file:
----------------------------As of May 26, 2015, there is no mechanism to have the Win32 build environment
call the $(MC) command with the right parameters against the ETW Manifest file.
So, if you make changes to the ETW manifest file, you'll need to hand-execute
the $(MC) command with the right parameters, and check in the changed files.Command to execute (in the pecl\wincache directory):
mc -um -e h -h .\ -r .\ wincache_etw.manFiles generated by 'mc':
wincache_etw.h
wincache_etw.rc
MSG00001.bin
wincache_etwTEMP.BINTo register the manifest, open an admin cmd window, and execute the following
command:
wevtutil im wincache_etw.manIf you've previously registered a manifest, you'll have to unregister the
manifest, and then re-register it.
wevtutil um wincache_etw.man
wevtutil im wincache_etw.manTo capture ETW traces, you can create a log profile with logman:
logman create trace wincache_etw -p "{F7AD0093-D5C3-46B9-BEEA-A9FCEC7E1408}" -o c:\temp\wincache_etw
logman start wincache_etw
<...do your repro...>
logman stop wincache_etw
tracerpt wincache_etw_000001.etl -import wincache_etw.manYou'll need to copy the wincache_etw.man to the machine where you're executing
wincache, and wherever you're running tracerpt.exe.