Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?xml version="1.0" encoding="UTF-8" ?>
<package>
<id>com.google.ImageMapper</id>
<title>ImageMapper</title>
<owner>
<name>Dave MacLachlan</name>
</owner>
<import-schema>kdebug-strings</import-schema>
<ktrace-interval-schema>
<id>com-google-dyld-map-image-schema</id>
<title>dyld map image</title>
<start-pattern>
<class>31</class>
<subclass>7</subclass>
<code>2</code>
<function>1</function>
<arg1>?id</arg1>
<arg2>?afilepath</arg2>
</start-pattern>
<end-pattern>
<class>31</class>
<subclass>7</subclass>
<code>2</code>
<function>2</function>
<arg1>?id</arg1>
</end-pattern>
<start-column>
<mnemonic>start</mnemonic>
<title>Start</title>
<type>start-time</type>
</start-column>
<duration-column>
<mnemonic>duration</mnemonic>
<title>Duration</title>
<type>duration</type>
</duration-column>
<column>
<mnemonic>id</mnemonic>
<title>id</title>
<type>uint64</type>
<expression>?id</expression>
</column>
<column>
<mnemonic>path</mnemonic>
<title>path</title>
<type>file-path</type>
<kdebug-string-from>?afilepath</kdebug-string-from>
</column>
<column>
<mnemonic>path-id</mnemonic>
<title>path-id</title>
<type>kdebug-string</type>
<expression>?afilepath</expression>
</column>
</ktrace-interval-schema>
<instrument>
<id>com.google.dyld.map-image</id>
<title>dyld Image Mapping</title>
<category>System</category>
<purpose>To rock your world</purpose>
<icon>Generic</icon>
<create-table>
<id>timings-table</id>
<schema-ref>com-google-dyld-map-image-schema</schema-ref>
</create-table>
<graph>
<title>Image Mapping Trace</title>
<lane>
<title>Image Mappings</title>
<table-ref>timings-table</table-ref>
<plot>
<value-from>path</value-from>
</plot>
</lane>
</graph>
<list>
<title>Image Mapping Times</title>
<table-ref>timings-table</table-ref>
<column>start</column>
<column>duration</column>
<column>path</column>
<column>path-id</column>
</list>
</instrument>
</package>
@JHumphreyJr

This comment has been minimized.

Copy link

commented Apr 11, 2019

Nice work, have you attempted the CLIPS modeler approach recommended yet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.