Windows Cache Extension for PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
tests
INSTALL
LICENSE
MSG00001.bin
Makefile.frag
README.TXT
config.w32
package.xml
php_wincache.c
php_wincache.h
precomp.h
reroute.ini
template.rc
wincache.php
wincache_alloc.c
wincache_alloc.h
wincache_aplist.c
wincache_aplist.h
wincache_debug.c
wincache_debug.h
wincache_detours.c
wincache_detours.h
wincache_dummy_etw.h
wincache_error.c
wincache_error.h
wincache_etw.h
wincache_etw.man
wincache_etw.rc
wincache_etwTEMP.BIN
wincache_fcache.c
wincache_fcache.h
wincache_fcnotify.c
wincache_fcnotify.h
wincache_filemap.c
wincache_filemap.h
wincache_lock.c
wincache_lock.h
wincache_ocache.c
wincache_ocache.h
wincache_opcopy.c
wincache_opcopy.h
wincache_rplist.c
wincache_rplist.h
wincache_session.c
wincache_session.h
wincache_string.c
wincache_string.h
wincache_utils.c
wincache_utils.h
wincache_zvcache.c
wincache_zvcache.h

README.TXT

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.man

Files generated by 'mc':
  wincache_etw.h
  wincache_etw.rc
  MSG00001.bin
  wincache_etwTEMP.BIN

To register the manifest, open an admin cmd window, and execute the following
command:
  wevtutil im wincache_etw.man

If 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.man

To 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.man

You'll need to copy the wincache_etw.man to the machine where you're executing
wincache, and wherever you're running tracerpt.exe.