https://github.com/php/pecl-caching-wincache
Windows Cache Extension for PHP
https://github.com/php/pecl-caching-wincache
Last synced: 5 months 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 7 years ago)
- Default Branch: master
- Last Pushed: 2024-06-29T00:27:18.000Z (about 1 year ago)
- Last Synced: 2025-01-29T21:26:58.614Z (5 months ago)
- Language: C
- Homepage: https://pecl.php.net/package/wincache
- Size: 468 KB
- Stars: 8
- Watchers: 15
- 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.