2000 · 37 citations · 0 references
ComputingComputer ScienceComputer SystemsComputer ArchitectureOperating SystemsSystems ProgrammingKernel DesignKernel ProgrammingOperating System InterfacesProcess InstrumentationSystem CallsVirtual MemoryExecution Trace AnalysisExecution TracingProgram Trace AnalysisRuntime TracingSystem Call AnalysisSystem Call TracingTracer TestingVirtual Address Space
This article describes the techniques used to construct VTrace, a system tracer for Windows NT and Windows 2000. VTrace collects data about processes, threads, messages, disk operations, network operations, and devices. The technique uses a DLL loaded into the address space of every process to intercept Win32 system calls; establishes hook functions for Windows NT kernel system calls; modifies the context switch code in memory to log context switches; and uses device filters to log accesses to devices.