~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/probes.d

  • Committer: Padraig O'Sullivan
  • Date: 2009-12-17 04:48:59 UTC
  • mto: This revision was merged to the branch mainline in revision 1246.
  • Revision ID: osullivan.padraig@gmail.com-20091217044859-qorpkp4911zypfv3
Added some dtrace probes for tracing the optimizer.

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
                           const char *db_name);
80
80
  probe query__exec__done(int status);
81
81
 
 
82
  /*
 
83
   * These probes fire in the query optimizer
 
84
   */
 
85
  probe query__opt__start(const char *query,
 
86
                          unsigned long connid);
 
87
  probe query__opt__done(int status);
 
88
  probe query__opt__choose__plan__start(const char *query,
 
89
                                        unsigned long connid);
 
90
  probe query__opt__choose__plan__done(int status);
 
91
 
82
92
  /* These probes fire when performing write operations towards any Cursor */
83
93
  probe insert__row__start(const char *db, const char *table);
84
94
  probe insert__row__done(int status);