mirror of
https://github.com/libvirt/libvirt.git
synced 2026-07-31 08:38:16 -05:00
When building as driver modules, it is not possible for the QEMU driver module to reference the DTrace/SystemTAP probes linked into the main libvirt.so. Thus we need to move the QEMU probes into a separate file 'libvirt_qemu_probes.d'. Also rename the existing file from 'probes.d' to 'libvirt_probes.d' while we're at it * daemon/Makefile.am, src/internal.h: Include libvirt_probes.h instead of probes.h * src/Makefile.am: Add rules for libvirt_qemu_probes.d * src/qemu/qemu_monitor.c, src/qemu/qemu_monitor_json.c, src/qemu/qemu_monitor_text.c: Include libvirt_qemu_probes.h * src/libvirt_probes.d: Rename from probes.d * src/libvirt_qemu_probes.d: QEMU specific probes formerly in probes.d Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
86 lines
3.7 KiB
D
86 lines
3.7 KiB
D
provider libvirt {
|
|
# file: src/util/event_poll.c
|
|
# prefix: event_poll
|
|
probe event_poll_add_handle(int watch, int fd, int events, void *cb, void *opaque, void *ff);
|
|
probe event_poll_update_handle(int watch, int events);
|
|
probe event_poll_remove_handle(int watch);
|
|
probe event_poll_dispatch_handle(int watch, int events);
|
|
probe event_poll_purge_handle(int watch);
|
|
|
|
probe event_poll_add_timeout(int timer, int frequency, void *cb, void *opaque, void *ff);
|
|
probe event_poll_update_timeout(int timer, int frequency);
|
|
probe event_poll_remove_timeout(int timer);
|
|
probe event_poll_dispatch_timeout(int timer);
|
|
probe event_poll_purge_timeout(int timer);
|
|
|
|
probe event_poll_run(int nfds, int timeout);
|
|
|
|
|
|
# file: src/rpc/virnetsocket.c
|
|
# prefix: rpc
|
|
probe rpc_socket_new(void *sock, int refs, int fd, int errfd, pid_t pid, const char *localAddr, const char *remoteAddr);
|
|
probe rpc_socket_send_fd(void *sock, int fd);
|
|
probe rpc_socket_recv_fd(void *sock, int fd);
|
|
probe rpc_socket_ref(void *sock, int refs);
|
|
probe rpc_socket_free(void *sock, int refs);
|
|
|
|
|
|
# file: src/rpc/virnetserverclient.c
|
|
# prefix: rpc
|
|
probe rpc_server_client_new(void *client, int refs, void *sock);
|
|
probe rpc_server_client_ref(void *client, int refs);
|
|
probe rpc_server_client_free(void *client, int refs);
|
|
|
|
probe rpc_server_client_msg_tx_queue(void *client, int len, int prog, int vers, int proc, int type, int status, int serial);
|
|
probe rpc_server_client_msg_rx(void *client, int len, int prog, int vers, int proc, int type, int status, int serial);
|
|
|
|
|
|
# file: src/rpc/virnetclient.c
|
|
# prefix: rpc
|
|
probe rpc_client_new(void *client, int refs, void *sock);
|
|
probe rpc_client_ref(void *client, int refs);
|
|
probe rpc_client_free(void *client, int refs);
|
|
|
|
probe rpc_client_msg_tx_queue(void *client, int len, int prog, int vers, int proc, int type, int status, int serial);
|
|
probe rpc_client_msg_rx(void *client, int len, int prog, int vers, int proc, int type, int status, int serial);
|
|
|
|
|
|
# file: daemon/libvirtd.c
|
|
# prefix: rpc
|
|
probe rpc_server_client_auth_allow(void *client, int authtype, const char *identity);
|
|
probe rpc_server_client_auth_deny(void *client, int authtype, const char *identity);
|
|
probe rpc_server_client_auth_fail(void *client, int authtype);
|
|
|
|
|
|
# file: src/rpc/virnettlscontext.c
|
|
# prefix: rpc
|
|
probe rpc_tls_context_new(void *ctxt, int refs, const char *cacert, const char *cacrl,
|
|
const char *cert, const char *key, int sanityCheckCert, int requireValidCert, int isServer);
|
|
probe rpc_tls_context_ref(void *ctxt, int refs);
|
|
probe rpc_tls_context_free(void *ctxt, int refs);
|
|
|
|
probe rpc_tls_context_session_allow(void *ctxt, void *sess, const char *dname);
|
|
probe rpc_tls_context_session_deny(void *ctxt, void *sess, const char *dname);
|
|
probe rpc_tls_context_session_fail(void *ctxt, void *sess);
|
|
|
|
|
|
probe rpc_tls_session_new(void *sess, void *ctxt, int refs, const char *hostname, int isServer);
|
|
probe rpc_tls_session_ref(void *sess, int refs);
|
|
probe rpc_tls_session_free(void *sess, int refs);
|
|
|
|
probe rpc_tls_session_handshake_pass(void *sess);
|
|
probe rpc_tls_session_handshake_fail(void *sess);
|
|
|
|
|
|
# file: src/rpc/virkeepalive.c
|
|
# prefix: rpc
|
|
probe rpc_keepalive_new(void *ka, void *client, int refs);
|
|
probe rpc_keepalive_ref(void *ka, void *client, int refs);
|
|
probe rpc_keepalive_free(void *ka, void *client, int refs);
|
|
probe rpc_keepalive_start(void *ka, void *client, int interval, int count);
|
|
probe rpc_keepalive_stop(void *ka, void *client, bool all);
|
|
probe rpc_keepalive_send(void *ka, void *client, int prog, int vers, int proc);
|
|
probe rpc_keepalive_received(void *ka, void *client, int prog, int vers, int proc);
|
|
probe rpc_keepalive_timeout(void *ka, void *client, int coundToDeath, int idle);
|
|
};
|