Coder Social home page Coder Social logo

ericsten-msft / pecl-caching-wincache Goto Github PK

View Code? Open in Web Editor NEW

This project forked from php/pecl-caching-wincache

0.0 1.0 0.0 459 KB

Windows Cache Extension for PHP

Home Page: https://pecl.php.net/package/wincache

License: Other

Makefile 0.02% C 87.56% PHP 7.58% C++ 4.11% Roff 0.72%

pecl-caching-wincache's Introduction

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.


  

pecl-caching-wincache's People

Contributors

ericsten-msft avatar johannes avatar kallez avatar pierrejoye avatar weltling avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.