- Timestamp:
-
08/07/09 20:28:17 (15 years ago)
- Author:
-
Cocanlucian
- Comment:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v7
|
v8
|
|
14 | 14 | This section specifies paths to other configuration files (called API configuration files) which contain information that is needed for the encoding of data and generation of ID's (functions ID, manager ID, API id etc). The section “API configuration files” explains what these configuration files should contain. Check this for an example. |
15 | 15 | |
16 | | #rtems-functions: list of comma separated function names |
| 16 | 1. rtems-functions: list of comma separated function names |
17 | 17 | This section should contain a list of comma separated function names that the user wants to trace. Check this for an example. |
18 | 18 | |
19 | | #rtems-managers: list of comma separated manager names |
| 19 | 2. rtems-managers: list of comma separated manager names |
20 | 20 | This section should contain a list of comma separated manager names. The manager names should be specified like this: API_name-manager_name. This is to help the user to specify more easily hole sets of functions. |
21 | 21 | Ex: If the user wants to trace all the functions from the task manager from the Classic API then he could do this: |
22 | 22 | |
23 | | rtems-manager: classic-task |
| 23 | 3. rtems-manager: classic-task |
24 | 24 | |
25 | 25 | Rather than doing this: |
26 | 26 | |
27 | | rtems-functions: rtems_task_create, rtems_task_ident |
| 27 | 4. rtems-functions: rtems_task_create, rtems_task_ident |
28 | 28 | rtems_task_self, rtems_task_start |
29 | 29 | rtems_task_restart, rtems_task_delete |
… |
… |
|
38 | 38 | I think you got the point. :) |
39 | 39 | |
40 | | rtems-libraries: list of comma separated library names |
| 40 | 5. rtems-libraries: list of comma separated library names |
41 | 41 | This section should contain a list of comma separated library names. Check this for an example. |
42 | 42 | |
43 | | rtems-symbols-path: path to the folder containing the symbols files |
| 43 | 6. rtems-symbols-path: path to the folder containing the symbols files |
44 | 44 | |
45 | 45 | This section should contain a valid path to a directory containing the symbols files. The symbols files (functions.sym, structs.sym, typedefs.sym, unions.sym) contain information, as their name suggest, about functions signature, struct, typedef and union definition. These files are specific to a library and should be found in a directory that has the same name as the library from which the files resulted. |
… |
… |
|
51 | 51 | # Sample configuration file |
52 | 52 | # Include section |
53 | | include "rtems_trace_classic.cfg" |
54 | | include "rtems_trace_posix.cfg" |
| 53 | '''include''' "rtems_trace_classic.cfg" |
| 54 | '''include''' "rtems_trace_posix.cfg" |
55 | 55 | |
56 | 56 | # The user can specify just some functions specific to an API to trace |
57 | 57 | # or a hole set of functions specific to a manager from an API. |
58 | 58 | # Specify some functions. |
59 | | rtems-functions: rtems_task_create, rtems_task_delete |
| 59 | '''rtems-functions''': rtems_task_create, rtems_task_delete |
60 | 60 | |
61 | 61 | # Specify a manager from an API. |
62 | 62 | # API_name-manager_name |
63 | | rtems-api: classic-task, classic-interrupt, classic-clock, classic-timer, classic-semaphore, |
| 63 | '''rtems-api'''': classic-task, classic-interrupt, classic-clock, classic-timer, classic-semaphore, |
64 | 64 | classic-message, classic-event, classic-signal, classic-io, classic-init, |
65 | 65 | posix-mutex, posix-semaphore, posix-clock, posix-timer, posix-condvar, |
… |
… |
|
68 | 68 | # Specify a path |
69 | 69 | # The path to the symbols files. |
70 | | rtems-symbols-path: /home/cocan/Faculta/RTEMS/gsoc_2009/branch-rtems-trace/rtems-trace/bin/rtems-trace/symbols/librtems/ |
| 70 | '''rtems-symbols-path''': /home/cocan/Faculta/RTEMS/gsoc_2009/branch-rtems-trace/rtems-trace/bin/rtems-trace/symbols/librtems/ |
71 | 71 | |
72 | 72 | = API configuration file = |