[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH] AutoGenerate pooltag.txt
Use following script to generate a pooltag.txt for debugger use Function Parse-Tags { param( [string]$drivername ) Get-ChildItem ("./src/" + $drivername) | Foreach-Object { $file = $_.Name Get-Content $_.FullName | ForEach { if ($_.Contains("TAG") -And $_.Contains("#define")) { $vals = $_.Split(' ', 3) $name = $vals[1].Trim() $tags = $vals[2].Trim().Trim("'").PadRight(4) Write-Host "TAG:" $name "=" $tags $driver = ($drivername + ".sys").PadRight(16) ($tags + " - " + $driver + " - XEN " + $drivername + "\" + $file + " " + $name) | Add-Content "./pooltag.txt" } } } } if (Test-Path "./pooltag.txt") { Remove-Item "./pooltag.txt" } Get-ChildItem "./src" | ?{$_.PSIsContainer} | ForEach-Object { Parse-Tags $_.Name } Signed-off-by: Owen Smith <owen.smith@xxxxxxxxx> --- pooltag.txt | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 pooltag.txt diff --git a/pooltag.txt b/pooltag.txt new file mode 100644 index 0000000..b5da2ac --- /dev/null +++ b/pooltag.txt @@ -0,0 +1,33 @@ +GERX - common.sys - XEN common\registry.c REGISTRY_TAG +IPCA - xen.sys - XEN xen\acpi.c XENBUS_ACPI_TAG +VIRD - xen.sys - XEN xen\driver.c XEN_DRIVER_TAG +UDOM - xen.sys - XEN xen\module.c MODULE_TAG +TSYS - xen.sys - XEN xen\system.c XEN_SYSTEM_TAG +LPNU - xen.sys - XEN xen\unplug.c UNPLUG_TAG +LLAB - xenbus.sys - XEN xenbus\balloon.c XENBUS_BALLOON_TAG +SUB - xenbus.sys - XEN xenbus\bus.c BUS_TAG +HCAC - xenbus.sys - XEN xenbus\cache.c CACHE_TAG +SNOC - xenbus.sys - XEN xenbus\console.c XENBUS_CONSOLE_TAG +UBED - xenbus.sys - XEN xenbus\debug.c XENBUS_DEBUG_TAG +AMD - xenbus.sys - XEN xenbus\dma.c DMA_TAG +VIRD - xenbus.sys - XEN xenbus\driver.c XENBUS_DRIVER_TAG +CTVE - xenbus.sys - XEN xenbus\evtchn.c XENBUS_EVTCHN_TAG +L2 - xenbus.sys - XEN xenbus\evtchn_2l.c XENBUS_EVTCHN_TWO_LEVEL_TAG +OFIF - xenbus.sys - XEN xenbus\evtchn_fifo.c XENBUS_EVTCHN_FIFO_TAG +ODF - xenbus.sys - XEN xenbus\fdo.c XENBUS_FDO_TAG +TLIF - xenbus.sys - XEN xenbus\filters.c XENBUS_FILTERS_TAG +TTNG - xenbus.sys - XEN xenbus\gnttab.c XENBUS_GNTTAB_TAG +HSAH - xenbus.sys - XEN xenbus\hash_table.c XENBUS_HASH_TABLE_TAG +ODP - xenbus.sys - XEN xenbus\pdo.c PDO_TAG +GNAR - xenbus.sys - XEN xenbus\range_set.c RANGE_SET_TAG +OFNI - xenbus.sys - XEN xenbus\shared_info.c XENBUS_SHARED_INFO_TAG +ROTS - xenbus.sys - XEN xenbus\store.c XENBUS_STORE_TAG +PSUS - xenbus.sys - XEN xenbus\suspend.c XENBUS_SUSPEND_TAG +CNYS - xenbus.sys - XEN xenbus\sync.c XENBUS_SYNC_TAG +ERHT - xenbus.sys - XEN xenbus\thread.c THREAD_TAG +LPNU - xenbus.sys - XEN xenbus\unplug.c XENBUS_UNPLUG_TAG +VIRD - xenfilt.sys - XEN xenfilt\driver.c XENFILT_DRIVER_TAG +LUME - xenfilt.sys - XEN xenfilt\emulated.c XENFILT_EMULATED_TAG +ODF - xenfilt.sys - XEN xenfilt\fdo.c FDO_TAG +ODP - xenfilt.sys - XEN xenfilt\pdo.c PDO_TAG +ERHT - xenfilt.sys - XEN xenfilt\thread.c THREAD_TAG -- 2.41.0.windows.3
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |