Permalink
Browse files

Fixing a lot of scopes on DTrace Snippets/commands/etc

  • Loading branch information...
1 parent 03e2d46 commit a31d58857c673d1683bb99a15898c5c85764531b @Machx committed Jan 10, 2009
Showing with 91 additions and 37 deletions.
  1. +1 −1 DTrace.tmbundle/Commands/Create Mirror Return Block for Entry Block.tmCommand
  2. +2 −0 DTrace.tmbundle/Commands/Run Script in Terminal.tmCommand
  3. +2 −2 DTrace.tmbundle/Snippets/Add Predicate.tmSnippet
  4. +4 −2 DTrace.tmbundle/Snippets/BEGIN Block.tmSnippet
  5. +2 −0 DTrace.tmbundle/Snippets/Caller.tmSnippet
  6. +1 −1 DTrace.tmbundle/Snippets/Carbon Events.tmSnippet
  7. +1 −1 DTrace.tmbundle/Snippets/Cocoa Events.tmSnippet
  8. +1 −1 DTrace.tmbundle/Snippets/Core Data Cache Misses.tmSnippet
  9. +1 −1 DTrace.tmbundle/Snippets/Core Data Faults.tmSnippet
  10. +4 −2 DTrace.tmbundle/Snippets/Core Data Fetches.tmSnippet
  11. +4 −2 DTrace.tmbundle/Snippets/Core Data Saves.tmSnippet
  12. +1 −1 DTrace.tmbundle/Snippets/Create Probe.tmSnippet
  13. +1 −1 DTrace.tmbundle/Snippets/Create USDT Provider File.tmSnippet
  14. +2 −0 DTrace.tmbundle/Snippets/Current Process Info.tmSnippet
  15. +2 −0 DTrace.tmbundle/Snippets/Current Thread.tmSnippet
  16. +2 −0 DTrace.tmbundle/Snippets/Current Working Directory.tmSnippet
  17. +2 −1 DTrace.tmbundle/Snippets/END Block.tmSnippet
  18. +4 −2 DTrace.tmbundle/Snippets/Empty Block.tmSnippet
  19. +2 −0 DTrace.tmbundle/Snippets/Enabled Probe ID.tmSnippet
  20. +2 −0 DTrace.tmbundle/Snippets/Error value.tmSnippet
  21. +2 −0 DTrace.tmbundle/Snippets/Executable Name.tmSnippet
  22. +1 −1 DTrace.tmbundle/Snippets/Flowindent Option.tmSnippet
  23. +1 −1 DTrace.tmbundle/Snippets/Garbage Collection Scavenge Data.tmSnippet
  24. +1 −1 DTrace.tmbundle/Snippets/Garbage Collection Total.tmSnippet
  25. +1 −1 DTrace.tmbundle/Snippets/Kernel Stack Trace.tmSnippet
  26. +1 −1 DTrace.tmbundle/Snippets/Objective-C Target Block.tmSnippet
  27. +4 −2 DTrace.tmbundle/Snippets/PID Target Block.tmSnippet
  28. +2 −0 DTrace.tmbundle/Snippets/Parent Process ID.tmSnippet
  29. +1 −1 DTrace.tmbundle/Snippets/Printf.tmSnippet
  30. +1 −1 DTrace.tmbundle/Snippets/Probe Function.tmSnippet
  31. +1 −1 DTrace.tmbundle/Snippets/Probe Module.tmSnippet
  32. +1 −1 DTrace.tmbundle/Snippets/Probe Name.tmSnippet
  33. +1 −1 DTrace.tmbundle/Snippets/Probe Provider.tmSnippet
  34. +2 −0 DTrace.tmbundle/Snippets/Process ID.tmSnippet
  35. +2 −0 DTrace.tmbundle/Snippets/Process Root Directory.tmSnippet
  36. +2 −0 DTrace.tmbundle/Snippets/Real Group ID.tmSnippet
  37. +1 −1 DTrace.tmbundle/Snippets/Script Initialization.tmSnippet
  38. +1 −1 DTrace.tmbundle/Snippets/Script Local Variable.tmSnippet
  39. +2 −0 DTrace.tmbundle/Snippets/Stack Depth.tmSnippet
  40. +2 −0 DTrace.tmbundle/Snippets/Target.tmSnippet
  41. +2 −0 DTrace.tmbundle/Snippets/Thread ID.tmSnippet
  42. +1 −1 DTrace.tmbundle/Snippets/Thread Local Variable.tmSnippet
  43. +2 −0 DTrace.tmbundle/Snippets/Timestamp (Minus DTrace Overhead).tmSnippet
  44. +2 −0 DTrace.tmbundle/Snippets/Timestamp (Nanoseconds since Jan 1 1970).tmSnippet
  45. +2 −0 DTrace.tmbundle/Snippets/Timestamp.tmSnippet
  46. +1 −1 DTrace.tmbundle/Snippets/Trace.tmSnippet
  47. +1 −1 DTrace.tmbundle/Snippets/Userland Stack Trace.tmSnippet
  48. +2 −2 DTrace.tmbundle/Syntaxes/D Script.tmLanguage
  49. +7 −0 README
@@ -29,7 +29,7 @@ print final_text;</string>
<key>output</key>
<string>afterSelectedText</string>
<key>scope</key>
- <string>source.d,</string>
+ <string>source.d</string>
<key>uuid</key>
<string>3CDF6C76-AED6-4E38-88AE-A02EBD3AE62E</string>
</dict>
@@ -21,6 +21,8 @@ APPLESCRIPT</string>
<string>Run Script in Terminal</string>
<key>output</key>
<string>discard</string>
+ <key>scope</key>
+ <string>source.d</string>
<key>uuid</key>
<string>D2E2A3AF-9E53-4074-84A3-52CEA8257DB1</string>
</dict>
@@ -7,9 +7,9 @@
<key>name</key>
<string>Add Predicate</string>
<key>scope</key>
- <string>source.d,</string>
+ <string>source.d</string>
<key>tabTrigger</key>
- <string>pr</string>
+ <string>/</string>
<key>uuid</key>
<string>0A427DD1-6660-422A-A168-4FA296838E66</string>
</dict>
@@ -6,11 +6,13 @@
<string>BEGIN
{
$1
-}</string>
+}
+
+</string>
<key>name</key>
<string>BEGIN Block</string>
<key>scope</key>
- <string>source.d,</string>
+ <string>source.d</string>
<key>tabTrigger</key>
<string>bb</string>
<key>uuid</key>
@@ -7,6 +7,8 @@
</string>
<key>name</key>
<string>Caller</string>
+ <key>scope</key>
+ <string>source.d</string>
<key>uuid</key>
<string>7D575CB4-5E6E-4607-964F-1BFE18DD2F39</string>
</dict>
@@ -21,7 +21,7 @@ pid\$target::WaitNextEvent:return
<key>name</key>
<string>Carbon Events</string>
<key>scope</key>
- <string>source.d,</string>
+ <string>source.d</string>
<key>tabTrigger</key>
<string>caev</string>
<key>uuid</key>
@@ -18,7 +18,7 @@
<key>name</key>
<string>Cocoa Events</string>
<key>scope</key>
- <string>source.d,</string>
+ <string>source.d</string>
<key>tabTrigger</key>
<string>coev</string>
<key>uuid</key>
@@ -33,7 +33,7 @@ CoreData\$target:CoreData::EndRelationshipCacheMiss
<key>name</key>
<string>Core Data Cache Misses</string>
<key>scope</key>
- <string>source.d,</string>
+ <string>source.d</string>
<key>tabTrigger</key>
<string>cdcm</string>
<key>uuid</key>
@@ -33,7 +33,7 @@ CoreData\$target:CoreData::EndRelationshipFault
<key>name</key>
<string>Core Data Faults</string>
<key>scope</key>
- <string>source.d,</string>
+ <string>source.d</string>
<key>tabTrigger</key>
<string>cdfa</string>
<key>uuid</key>
@@ -15,11 +15,13 @@ CoreData\$target:CoreData::EndFetch
self-&gt;fetchEnd = (vtimestamp - self-&gt; fetchStart) / 1000;
printf("Fetch Count: %i Duration: %u",arg0,self-&gt;fetchEnd);
ustack();
-}</string>
+}
+
+</string>
<key>name</key>
<string>Core Data Fetches</string>
<key>scope</key>
- <string>source.d,</string>
+ <string>source.d</string>
<key>tabTrigger</key>
<string>cdfe</string>
<key>uuid</key>
@@ -14,11 +14,13 @@ CoreData\$target:CoreData::EndSave
self-&gt;saveEnd = (vtimestamp - self-&gt;saveStart) / 1000;
trace(self-&gt;saveEnd);
ustack();
-}</string>
+}
+
+</string>
<key>name</key>
<string>Core Data Saves</string>
<key>scope</key>
- <string>source.d,</string>
+ <string>source.d</string>
<key>tabTrigger</key>
<string>cds</string>
<key>uuid</key>
@@ -7,7 +7,7 @@
<key>name</key>
<string>Create Probe</string>
<key>scope</key>
- <string>source.d,</string>
+ <string>source.d</string>
<key>tabTrigger</key>
<string>pro</string>
<key>uuid</key>
@@ -10,7 +10,7 @@
<key>name</key>
<string>Create USDT Provider File</string>
<key>scope</key>
- <string>source.d,</string>
+ <string>source.d</string>
<key>tabTrigger</key>
<string>usdt</string>
<key>uuid</key>
@@ -6,6 +6,8 @@
<string>curpsinfo</string>
<key>name</key>
<string>Current Process Info</string>
+ <key>scope</key>
+ <string>source.d</string>
<key>uuid</key>
<string>6DEFA5D8-8E95-4CEE-AD5D-D3D0E8FD7E63</string>
</dict>
@@ -6,6 +6,8 @@
<string>curthread</string>
<key>name</key>
<string>Current Thread</string>
+ <key>scope</key>
+ <string>source.d</string>
<key>uuid</key>
<string>A96A5D37-D2FD-4039-A234-0BD06A119C26</string>
</dict>
@@ -6,6 +6,8 @@
<string>cwd</string>
<key>name</key>
<string>Current Working Directory</string>
+ <key>scope</key>
+ <string>source.d</string>
<key>uuid</key>
<string>E041812A-D5E2-4B64-A4DF-0EAF9EAE0295</string>
</dict>
@@ -7,11 +7,12 @@
{
$1
}
+
</string>
<key>name</key>
<string>END Block</string>
<key>scope</key>
- <string>source.d,</string>
+ <string>source.d</string>
<key>tabTrigger</key>
<string>eb</string>
<key>uuid</key>
@@ -6,11 +6,13 @@
<string>$1:$2:$3:$4
{
$5
-}</string>
+}
+
+</string>
<key>name</key>
<string>Empty Block</string>
<key>scope</key>
- <string>source.d,</string>
+ <string>source.d</string>
<key>tabTrigger</key>
<string>db</string>
<key>uuid</key>
@@ -6,6 +6,8 @@
<string>epid</string>
<key>name</key>
<string>Enabled Probe ID</string>
+ <key>scope</key>
+ <string>source.d</string>
<key>uuid</key>
<string>0E15BAC5-A7E5-4DDB-9882-4870B2379B8E</string>
</dict>
@@ -6,6 +6,8 @@
<string>errno</string>
<key>name</key>
<string>Error value</string>
+ <key>scope</key>
+ <string>source.d</string>
<key>uuid</key>
<string>59EDB71C-A474-454F-8E42-9AACB4DF498F</string>
</dict>
@@ -6,6 +6,8 @@
<string>execname</string>
<key>name</key>
<string>Executable Name</string>
+ <key>scope</key>
+ <string>source.d</string>
<key>uuid</key>
<string>1698F5C5-1867-4C22-B1CF-9E0A35CFB2B4</string>
</dict>
@@ -8,7 +8,7 @@
<key>name</key>
<string>Flowindent Option</string>
<key>scope</key>
- <string>source.d,</string>
+ <string>source.d</string>
<key>tabTrigger</key>
<string>fi</string>
<key>uuid</key>
@@ -19,7 +19,7 @@ pid\$target::auto_trace_phase_end:entry
<key>name</key>
<string>Garbage Collection Scavenge Data</string>
<key>scope</key>
- <string>source.d,</string>
+ <string>source.d</string>
<key>tabTrigger</key>
<string>gcs</string>
<key>uuid</key>
@@ -11,7 +11,7 @@
<key>name</key>
<string>Garbage Collection Total</string>
<key>scope</key>
- <string>source.d,</string>
+ <string>source.d</string>
<key>tabTrigger</key>
<string>gct</string>
<key>uuid</key>
@@ -8,7 +8,7 @@
<key>name</key>
<string>Kernel Stack Trace</string>
<key>scope</key>
- <string>source.d,</string>
+ <string>source.d</string>
<key>tabTrigger</key>
<string>ks</string>
<key>uuid</key>
@@ -14,7 +14,7 @@
<key>name</key>
<string>Objective-C Target Block</string>
<key>scope</key>
- <string>source.d,</string>
+ <string>source.d</string>
<key>tabTrigger</key>
<string>ot</string>
<key>uuid</key>
@@ -6,13 +6,15 @@
<string>pid\$target:$1:$2:$3
{
$4
-}</string>
+}
+
+</string>
<key>keyEquivalent</key>
<string>~@t</string>
<key>name</key>
<string>PID Target Block</string>
<key>scope</key>
- <string>source.d,</string>
+ <string>source.d</string>
<key>tabTrigger</key>
<string>pt</string>
<key>uuid</key>
@@ -6,6 +6,8 @@
<string>ppid</string>
<key>name</key>
<string>Parent Process ID</string>
+ <key>scope</key>
+ <string>source.d</string>
<key>uuid</key>
<string>DF86C325-17D4-4FC1-9012-CAE8950462CA</string>
</dict>
@@ -7,7 +7,7 @@
<key>name</key>
<string>Printf</string>
<key>scope</key>
- <string>source.d,</string>
+ <string>source.d</string>
<key>tabTrigger</key>
<string>pf</string>
<key>uuid</key>
@@ -7,7 +7,7 @@
<key>name</key>
<string>Probe Function</string>
<key>scope</key>
- <string>source.d,</string>
+ <string>source.d</string>
<key>tabTrigger</key>
<string>pf</string>
<key>uuid</key>
@@ -7,7 +7,7 @@
<key>name</key>
<string>Probe Module</string>
<key>scope</key>
- <string>source.d,</string>
+ <string>source.d</string>
<key>tabTrigger</key>
<string>pm</string>
<key>uuid</key>
@@ -7,7 +7,7 @@
<key>name</key>
<string>Probe Name</string>
<key>scope</key>
- <string>source.d,</string>
+ <string>source.d</string>
<key>tabTrigger</key>
<string>pn</string>
<key>uuid</key>
@@ -7,7 +7,7 @@
<key>name</key>
<string>Probe Provider</string>
<key>scope</key>
- <string>source.d,</string>
+ <string>source.d</string>
<key>tabTrigger</key>
<string>pp</string>
<key>uuid</key>
@@ -6,6 +6,8 @@
<string>pid</string>
<key>name</key>
<string>Process ID</string>
+ <key>scope</key>
+ <string>source.d</string>
<key>uuid</key>
<string>95A964CA-A6FF-470C-A338-DDD1010AA104</string>
</dict>
@@ -6,6 +6,8 @@
<string>root</string>
<key>name</key>
<string>Process Root Directory</string>
+ <key>scope</key>
+ <string>source.d</string>
<key>uuid</key>
<string>1DD63C2D-9945-41EF-A0D0-A5C18A7B0032</string>
</dict>
@@ -6,6 +6,8 @@
<string>gid</string>
<key>name</key>
<string>Real Group ID</string>
+ <key>scope</key>
+ <string>source.d</string>
<key>uuid</key>
<string>AC7EA4EF-EF50-4F23-8D8C-5DBCB25C6F0D</string>
</dict>
@@ -9,7 +9,7 @@
<key>name</key>
<string>Script Initialization</string>
<key>scope</key>
- <string>source.d,</string>
+ <string>source.d</string>
<key>tabTrigger</key>
<string>ss</string>
<key>uuid</key>
@@ -7,7 +7,7 @@
<key>name</key>
<string>Script Local Variable</string>
<key>scope</key>
- <string>source.d,</string>
+ <string>source.d</string>
<key>tabTrigger</key>
<string>sv</string>
<key>uuid</key>
@@ -6,6 +6,8 @@
<string>stackdepth</string>
<key>name</key>
<string>Stack Depth</string>
+ <key>scope</key>
+ <string>source.d</string>
<key>uuid</key>
<string>1EDA9604-E9EC-4976-B700-B3E8F5EB63BA</string>
</dict>
Oops, something went wrong.

0 comments on commit a31d588

Please sign in to comment.