Skip to content

Instantly share code, notes, and snippets.

@dmaclach
Created January 8, 2019 16:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmaclach/e1973c5cb45456e504c4f3d25fd8decf to your computer and use it in GitHub Desktop.
Save dmaclach/e1973c5cb45456e504c4f3d25fd8decf to your computer and use it in GitHub Desktop.
<?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
Copy link

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