ia64/xen-unstable

view tools/xenstore/xenstored_probes.d @ 16950:a6c037d8cba3

Add DTrace support to xenstored

Add USDT probes for significant xenstore operations to allow dynamic
tracing.

Signed-off-by: John Levon <john.levon@sun.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Jan 31 09:13:27 2008 +0000 (2008-01-31)
parents
children
line source
1 /*
2 * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
3 * Use is subject to license terms.
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, version 2 of the License.
8 */
10 #include <sys/types.h>
12 provider xenstore {
13 /* tx id, dom id, pid, type, msg */
14 probe msg(uint32_t, unsigned int, pid_t, int, const char *);
15 /* tx id, dom id, pid, type, reply */
16 probe reply(uint32_t, unsigned int, pid_t, int, const char *);
17 /* tx id, dom id, pid, reply */
18 probe error(uint32_t, unsigned int, pid_t, const char *);
19 /* dom id, pid, watch details */
20 probe watch_event(unsigned int, pid_t, const char *);
21 };
23 #pragma D attributes Evolving/Evolving/Common provider xenstore provider
24 #pragma D attributes Private/Private/Unknown provider xenstore module
25 #pragma D attributes Private/Private/Unknown provider xenstore function
26 #pragma D attributes Evolving/Evolving/Common provider xenstore name
27 #pragma D attributes Evolving/Evolving/Common provider xenstore args