Developer/Tracing/Trace_Buffering: fileio-trace.ini

File fileio-trace.ini, 1.5 KB (added by Chris Johns, on Mar 29, 2015 at 10:19:56 AM)

Trace buffering fileio configuration file.

Line 
1;
2; RTEMS Trace Linker FileIO Trace Configuration
3;
4; Copyright 2015 Chris Johns <chrisj@rtems.org>
5;
6
7;--------------------------------------------------------------------------
8[tracer]
9name = File IO tracer
10;
11; The configuration
12;
13options = fileio-options
14traces = fileio
15defines = fileio
16enables = fileio
17triggers = fileio
18functions = fileio-funcs, rtems-api, rtems-posix, libc-heap
19include = rtems.ini, rtld-base.ini, rtld-trace-buffer.ini, libc-heap.ini
20
21;--------------------------------------------------------------------------
22[fileio-options]
23dump-on-error = true
24;
25; Tools
26;
27prefix = /opt/rtems/4.11
28rtems-path = /opt/rtems/kernel/4.11
29rtems-bsp = sparc/sis
30;
31; Generator options.
32;
33gen-enables = enable
34gen-triggers = enable
35
36;--------------------------------------------------------------------------
37[fileio]
38generator = trace-buffer-generator
39define = '#define RTLD_TRACE_BUFFER_SIZE (1UL * 1024 * 1024)'
40trace = rtems_shell_init
41trace = malloc, calloc, realloc, free
42traces = rtems-api-semaphore, rtems-posix-mutex
43enable = rtems_shell_init
44enable = malloc, calloc, realloc, free
45enables = rtems-api-semaphore, rtems-posix-mutex
46trigger = rtems_shell_init
47
48;--------------------------------------------------------------------------
49[fileio-funcs]
50headers = fileio-headers
51signatures = fileio-signatures
52
53[fileio-headers]
54header = '#include <rtems/shell.h>"'
55
56[fileio-signatures]
57rtems_shell_init = rtems_status_code, const char*, size_t, rtems_task_priority, const char*, bool, bool, rtems_shell_login_check_t