~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/probes.d

  • Committer: Padraig O'Sullivan
  • Date: 2009-09-13 00:38:25 UTC
  • mto: (1126.9.2 captain-20090915-01)
  • mto: This revision was merged to the branch mainline in revision 1133.
  • Revision ID: osullivan.padraig@gmail.com-20090913003825-dmd9gvpjbcvxaegc
Updating the dtrace probes to be compatible with drizzle.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
provider drizzle {
44
44
  
45
45
  /* The following ones fire when creating or closing a client connection */
46
 
  probe connection__start(unsigned long conn_id, char *user, char *host);
 
46
  probe connection__start(unsigned long conn_id);
47
47
  probe connection__done(int status, unsigned long conn_id);
48
48
 
49
49
  /*
50
50
   * Fire at the start/end of any client command processing (including SQL
51
51
   * queries).
52
52
  */
53
 
  probe command__start(unsigned long conn_id, int command,
54
 
                       char *user, char *host);
 
53
  probe command__start(unsigned long conn_id, int command);
55
54
  probe command__done(int status);
56
55
  
57
56
  /*
65
64
   */
66
65
  probe query__start(char *query,
67
66
                     unsigned long conn_id,
68
 
                     char *db_name,
69
 
                     char *user,
70
 
                     char *host);
 
67
                     char *db_name);
71
68
  probe query__done(int status); 
72
69
 
73
70
  /* Fire at the start/end of SQL query parsing */
91
88
  probe query__exec__start(char *query,
92
89
                           unsigned long connid,
93
90
                           char *db_name,
94
 
                           char *user,
95
 
                           char *host,
96
91
                           int exec_type);
97
92
  probe query__exec__done(int status);
98
93