From: compudj Date: Thu, 8 Sep 2005 02:56:06 +0000 (+0000) Subject: move xml facilities X-Git-Tag: v0.12.20~2331 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=1500e1512ad61fe65ada227dfc6282b5e5f104f3;p=lttv.git move xml facilities git-svn-id: http://ltt.polymtl.ca/svn@1158 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/genevent/core.xml b/genevent/core.xml deleted file mode 100644 index c9004d3f..00000000 --- a/genevent/core.xml +++ /dev/null @@ -1,53 +0,0 @@ - - The core facility contains the basic tracing related events - - - Facility is loaded - - - - - - - - - - - - - Facility is unloaded - - - - - - - System time values sent periodically to detect cycle counter - rollovers. Useful when only the 32 LSB of the TSC are saved in events - header : we save the full 64 bits in this event. - - - - - - Facility is loaded while in state dump - - - - - - - - - - - - - - - - - - - - diff --git a/genevent/fs.xml b/genevent/fs.xml deleted file mode 100644 index 2e475023..00000000 --- a/genevent/fs.xml +++ /dev/null @@ -1,89 +0,0 @@ - - The fs facility contains events related to file system operation - - - Staring to wait for a buffer - - Address of the buffer head. - - - - - Ending to wait for a buffer - - Address of the buffer head. - - - - - Executing a file - - File name - - - - - Opening a file - - File name - File descriptor - - - - - Closing a file descriptor - - File descriptor - - - - - Reading from a file descriptor - - File descriptor - Number of bytes to read - - - - - Write to a file descriptor - - File descriptor - Number of bytes to write - - - - - Seek a file descriptor - - File descriptor - Number of bytes to write - Number of bytes to write - - - - - Do a IOCTL on a file descriptor - - File descriptor - Command - Argument - - - - - Do a select on a file descriptor - - File descriptor - Time out - - - - - Do a poll on a file descriptor - - File descriptor - - - - diff --git a/genevent/ipc.xml b/genevent/ipc.xml deleted file mode 100644 index 1a0c47a7..00000000 --- a/genevent/ipc.xml +++ /dev/null @@ -1,37 +0,0 @@ - - The ipc facility contains events related to Inter Process Communication - - - - IPC call - - Number of IPC call - - First argument - - - - Get an IPC message queue identifier - - Message queue identifier - Message flags - - - - - Get an IPC semaphore identifier - - Semaphore identifier - Semaphore flags - - - - - Get an IPC shared memory identifier - - Shared memory identifier - Shared memory flags - - - - diff --git a/genevent/kernel.xml b/genevent/kernel.xml deleted file mode 100644 index dd98a6c9..00000000 --- a/genevent/kernel.xml +++ /dev/null @@ -1,86 +0,0 @@ - - The kernel facility has events related to kernel execution status. - - - System call entry - - Syscall entry number in entry.S - Address from which call was made - - - - - System call exit - - - - Entry in a trap - - Trap number - Address where trap occured - - - - - Exit from a trap - - - - Soft IRQ entry - - Soft IRQ number - - - - - Soft IRQ exit - - Soft IRQ number - - - - - Tasklet entry - - Tasklet priority - Tasklet function address - Tasklet data address - - - - - Tasklet exit - - Tasklet priority - Tasklet function address - Tasklet data address - - - - - Entry in an irq - - IRQ number - Are we executing kernel code - - - - - Exit from an IRQ - - - - - - - - - - - - - diff --git a/genevent/memory.xml b/genevent/memory.xml deleted file mode 100644 index b6788f6b..00000000 --- a/genevent/memory.xml +++ /dev/null @@ -1,49 +0,0 @@ - - The memory facility has memory management events. - - - Page allocation - - Order of the page to allocate - Assigned page address, or 0 if - failed. - - - - - Page free - - Order of the page to free - Address of the page to free. - - - - - Page swapped into memory - - Address of the page to swap in. - - - - - Page swapped to disk - - Address of the page to swap out. - - - - - Staring to wait for a page - - Address of the page we wait for. - - - - - Ending wait for a page - - Address of the page we wait for. - - - - diff --git a/genevent/network.xml b/genevent/network.xml deleted file mode 100644 index f80f8cb4..00000000 --- a/genevent/network.xml +++ /dev/null @@ -1,20 +0,0 @@ - - The network facility contains events related to low level network operations - - - A packet is arriving - - Socket buffer pointer : identify the socket buffer - Protocol of the packet - - - - - We send a packet - - Socket buffer pointer : identify the socket buffer - Protocol of the packet - - - - diff --git a/genevent/process.xml b/genevent/process.xml deleted file mode 100644 index 85dbf433..00000000 --- a/genevent/process.xml +++ /dev/null @@ -1,116 +0,0 @@ - - The process facility has events related to process handling in - the kernel. - - - Process fork - - PID of the parent process - PID of the child process - - - - - Just created a new kernel thread - - PID of the kernel thread - Function called - - - - - - Process exit - - PID of the process - - - - - Process wait - - PID of the waiting process - PID of the process waited for - - - - - Process kernel data structure free (end of life of a zombie) - - PID of the freed process - - - - - Process kill system call - - PID of the process - PID of the process to kill - Signal number - - - - - Process signal reception - - PID of the receiving process - Signal number - - - - - Process wakeup - - PID of the receiving process - State of the awakened process. -1 unrunnable, 0 runnable, >0 stopped. - - - - - Scheduling change - - Outgoing process - Incoming process - Outgoing process' state. -1 unrunnable, 0 runnable, >0 stopped. - - - - - - - - - - diff --git a/genevent/s390-kernel.xml b/genevent/s390-kernel.xml deleted file mode 100644 index 8334c9d6..00000000 --- a/genevent/s390-kernel.xml +++ /dev/null @@ -1,12 +0,0 @@ - - The kernel facility has events related to kernel execution status. - - - Entry in a trap - - Trap number - Address where trap occured - - - - diff --git a/genevent/socket.xml b/genevent/socket.xml deleted file mode 100644 index f70761e9..00000000 --- a/genevent/socket.xml +++ /dev/null @@ -1,49 +0,0 @@ - - The socket facility contains events related to sockets - - - Generic socket call : FIXME : should be more detailed. - - Number of socket call - First argument of socket call - - - - - Create a socket - - Socket structure address - Socket family - Socket type - Socket protocol - Socket file descriptor - - - - - Sending a socket message - - Socket structure address - Socket family - Socket type - Socket protocol - Size of the message - - - - - Receiving a socket message - - Socket structure address - Socket family - Socket type - Socket protocol - Size of the message - - - - - - - - diff --git a/genevent/timer.xml b/genevent/timer.xml deleted file mode 100644 index a6e4ec98..00000000 --- a/genevent/timer.xml +++ /dev/null @@ -1,41 +0,0 @@ - - The timer facility has events related to timer events in the kernel. - - - A timer or itimer has expired. - - PID of the process to wake up. - - - - - The timer softirq is currently runned. - - - - An interval timer is set. - - kind of interval timer. - - - - - - - - - - - - - - diff --git a/ltt/branches/poly/facilities/core.xml b/ltt/branches/poly/facilities/core.xml new file mode 100644 index 00000000..c9004d3f --- /dev/null +++ b/ltt/branches/poly/facilities/core.xml @@ -0,0 +1,53 @@ + + The core facility contains the basic tracing related events + + + Facility is loaded + + + + + + + + + + + + + Facility is unloaded + + + + + + + System time values sent periodically to detect cycle counter + rollovers. Useful when only the 32 LSB of the TSC are saved in events + header : we save the full 64 bits in this event. + + + + + + Facility is loaded while in state dump + + + + + + + + + + + + + + + + + + + + diff --git a/ltt/branches/poly/facilities/fs.xml b/ltt/branches/poly/facilities/fs.xml new file mode 100644 index 00000000..2e475023 --- /dev/null +++ b/ltt/branches/poly/facilities/fs.xml @@ -0,0 +1,89 @@ + + The fs facility contains events related to file system operation + + + Staring to wait for a buffer + + Address of the buffer head. + + + + + Ending to wait for a buffer + + Address of the buffer head. + + + + + Executing a file + + File name + + + + + Opening a file + + File name + File descriptor + + + + + Closing a file descriptor + + File descriptor + + + + + Reading from a file descriptor + + File descriptor + Number of bytes to read + + + + + Write to a file descriptor + + File descriptor + Number of bytes to write + + + + + Seek a file descriptor + + File descriptor + Number of bytes to write + Number of bytes to write + + + + + Do a IOCTL on a file descriptor + + File descriptor + Command + Argument + + + + + Do a select on a file descriptor + + File descriptor + Time out + + + + + Do a poll on a file descriptor + + File descriptor + + + + diff --git a/ltt/branches/poly/facilities/ipc.xml b/ltt/branches/poly/facilities/ipc.xml new file mode 100644 index 00000000..1a0c47a7 --- /dev/null +++ b/ltt/branches/poly/facilities/ipc.xml @@ -0,0 +1,37 @@ + + The ipc facility contains events related to Inter Process Communication + + + + IPC call + + Number of IPC call + + First argument + + + + Get an IPC message queue identifier + + Message queue identifier + Message flags + + + + + Get an IPC semaphore identifier + + Semaphore identifier + Semaphore flags + + + + + Get an IPC shared memory identifier + + Shared memory identifier + Shared memory flags + + + + diff --git a/ltt/branches/poly/facilities/kernel.xml b/ltt/branches/poly/facilities/kernel.xml new file mode 100644 index 00000000..dd98a6c9 --- /dev/null +++ b/ltt/branches/poly/facilities/kernel.xml @@ -0,0 +1,86 @@ + + The kernel facility has events related to kernel execution status. + + + System call entry + + Syscall entry number in entry.S + Address from which call was made + + + + + System call exit + + + + Entry in a trap + + Trap number + Address where trap occured + + + + + Exit from a trap + + + + Soft IRQ entry + + Soft IRQ number + + + + + Soft IRQ exit + + Soft IRQ number + + + + + Tasklet entry + + Tasklet priority + Tasklet function address + Tasklet data address + + + + + Tasklet exit + + Tasklet priority + Tasklet function address + Tasklet data address + + + + + Entry in an irq + + IRQ number + Are we executing kernel code + + + + + Exit from an IRQ + + + + + + + + + + + + + diff --git a/ltt/branches/poly/facilities/memory.xml b/ltt/branches/poly/facilities/memory.xml new file mode 100644 index 00000000..b6788f6b --- /dev/null +++ b/ltt/branches/poly/facilities/memory.xml @@ -0,0 +1,49 @@ + + The memory facility has memory management events. + + + Page allocation + + Order of the page to allocate + Assigned page address, or 0 if + failed. + + + + + Page free + + Order of the page to free + Address of the page to free. + + + + + Page swapped into memory + + Address of the page to swap in. + + + + + Page swapped to disk + + Address of the page to swap out. + + + + + Staring to wait for a page + + Address of the page we wait for. + + + + + Ending wait for a page + + Address of the page we wait for. + + + + diff --git a/ltt/branches/poly/facilities/network.xml b/ltt/branches/poly/facilities/network.xml new file mode 100644 index 00000000..f80f8cb4 --- /dev/null +++ b/ltt/branches/poly/facilities/network.xml @@ -0,0 +1,20 @@ + + The network facility contains events related to low level network operations + + + A packet is arriving + + Socket buffer pointer : identify the socket buffer + Protocol of the packet + + + + + We send a packet + + Socket buffer pointer : identify the socket buffer + Protocol of the packet + + + + diff --git a/ltt/branches/poly/facilities/process.xml b/ltt/branches/poly/facilities/process.xml new file mode 100644 index 00000000..85dbf433 --- /dev/null +++ b/ltt/branches/poly/facilities/process.xml @@ -0,0 +1,116 @@ + + The process facility has events related to process handling in + the kernel. + + + Process fork + + PID of the parent process + PID of the child process + + + + + Just created a new kernel thread + + PID of the kernel thread + Function called + + + + + + Process exit + + PID of the process + + + + + Process wait + + PID of the waiting process + PID of the process waited for + + + + + Process kernel data structure free (end of life of a zombie) + + PID of the freed process + + + + + Process kill system call + + PID of the process + PID of the process to kill + Signal number + + + + + Process signal reception + + PID of the receiving process + Signal number + + + + + Process wakeup + + PID of the receiving process + State of the awakened process. -1 unrunnable, 0 runnable, >0 stopped. + + + + + Scheduling change + + Outgoing process + Incoming process + Outgoing process' state. -1 unrunnable, 0 runnable, >0 stopped. + + + + + + + + + + diff --git a/ltt/branches/poly/facilities/s390-kernel.xml b/ltt/branches/poly/facilities/s390-kernel.xml new file mode 100644 index 00000000..8334c9d6 --- /dev/null +++ b/ltt/branches/poly/facilities/s390-kernel.xml @@ -0,0 +1,12 @@ + + The kernel facility has events related to kernel execution status. + + + Entry in a trap + + Trap number + Address where trap occured + + + + diff --git a/ltt/branches/poly/facilities/socket.xml b/ltt/branches/poly/facilities/socket.xml new file mode 100644 index 00000000..f70761e9 --- /dev/null +++ b/ltt/branches/poly/facilities/socket.xml @@ -0,0 +1,49 @@ + + The socket facility contains events related to sockets + + + Generic socket call : FIXME : should be more detailed. + + Number of socket call + First argument of socket call + + + + + Create a socket + + Socket structure address + Socket family + Socket type + Socket protocol + Socket file descriptor + + + + + Sending a socket message + + Socket structure address + Socket family + Socket type + Socket protocol + Size of the message + + + + + Receiving a socket message + + Socket structure address + Socket family + Socket type + Socket protocol + Size of the message + + + + + + + + diff --git a/ltt/branches/poly/facilities/timer.xml b/ltt/branches/poly/facilities/timer.xml new file mode 100644 index 00000000..a6e4ec98 --- /dev/null +++ b/ltt/branches/poly/facilities/timer.xml @@ -0,0 +1,41 @@ + + The timer facility has events related to timer events in the kernel. + + + A timer or itimer has expired. + + PID of the process to wake up. + + + + + The timer softirq is currently runned. + + + + An interval timer is set. + + kind of interval timer. + + + + + + + + + + + + + +