766 Commits

Author SHA1 Message Date
Chris Johns
429b747258 tiers: Move bsps from tier-3 to tier-2
Closes #3213
2019-12-14 02:46:12 +11:00
Sebastian Huber
83b8f1f2a5 bin2c: Improve file name sanitation
Only use alpha-numeric characters for header guards.
2019-12-02 06:44:40 +01:00
Hesham Almatary
c02459ee65 tester: Add basic support to generate JUnit test reports 2019-11-22 09:05:23 +00:00
Sebastian Huber
d1486f25f5 record: Remove unused constant 2019-11-18 07:00:35 +01:00
Hesham Almatary
e6e610d262 rld-rap: Ignore relocations with section index 0 2019-11-12 10:20:05 +00:00
Hesham Almatary
a1c0f92883 rtems-syms: Use .quad instead of .long for riscv64
.long in RISC-V assembly is 4 bytes, while the address in riscv64
is 8 bytes (.quad). Moreover, RTEMS' libdl increases the symbols
pointer by sizeof(long) in C when iterating over global symbols.
2019-11-12 10:19:58 +00:00
Hesham Almatary
dcfccb1072 Add RISC-V machine to rld-elf 2019-11-12 10:19:53 +00:00
Chris Johns
4cb2ddc568 rtemstoolkit: Interpolate realing rtems configuration files. 2019-10-18 02:20:36 +11:00
Kinsey Moore
e9f48e9fac Fix exception when no output format is specified
The JSON log generation patch introduced a bug when the report output
generation was not configured due to attempting to iterate over 'None'.
2019-09-24 08:32:52 +10:00
Sebastian Huber
12bd8f77ba record: Fix use of std::min
Update #3665.
2019-09-10 12:49:41 +02:00
Sebastian Huber
5d80d0b2e1 record: Optionally use LLVM to resolve addresses
Update #3665.
2019-09-10 11:01:00 +02:00
Sebastian Huber
a2e7158792 record: Windows compatibility
Update #3665.
2019-09-10 10:54:28 +02:00
Sebastian Huber
f8f91d6507 record: Add generic record events
Update #3665.
2019-09-05 10:47:45 +02:00
Sebastian Huber
07829ca0b4 record: Use C++ header files and namespace std
Update #3665.
2019-09-05 10:44:31 +02:00
Sebastian Huber
0b12f00de9 record: Clean up metadata
Update #3665.
2019-09-05 10:38:31 +02:00
Chris Johns
1eaa300b3c waf: Clean up trace's wscript 2019-09-05 09:47:01 +10:00
Chris Johns
4cd76f2bd8 waf: Do not filter flags to be unique using set()
Filtering the flags to be unique using `set()` changes the order and
this results in waf thinking the flags have changed rebuilding various
pieces of code.
2019-09-05 09:47:01 +10:00
Chris Johns
b4227d9196 waf: Minor format clean up. 2019-09-05 09:47:01 +10:00
Chris Johns
5588b827cb waf: Update to waf-2.0.18 2019-09-05 09:47:01 +10:00
Chris Johns
128ee7b7ec bsp-builder: Do not clean the build space when starting with --no-clean 2019-09-05 09:47:01 +10:00
Chris Johns
72c684eff2 tester: Minor fix to prefix handling. 2019-09-05 09:47:01 +10:00
Chris Johns
89442b7c0c tester/tftp: Handle ctl-C when active. 2019-09-05 09:47:01 +10:00
Sebastian Huber
71929ce0d6 record: Add limit option
Update #3665.
2019-09-04 14:42:51 +02:00
Sebastian Huber
876ace89bc record: Simplify command line options
Update #3665.
2019-09-04 14:03:26 +02:00
Sebastian Huber
58edee96f5 record: Simplify content and packet size
Update #3665.
2019-09-04 13:47:00 +02:00
Sebastian Huber
0df7b2f392 record: Add support for interrupt handlers
Update #3665.
2019-09-04 13:47:00 +02:00
Sebastian Huber
ff942d52fd record: Simplify CopyThreadName()
Update #3665.
2019-09-04 07:17:06 +02:00
Sebastian Huber
ce308fad89 record: Only create necessary stream files
Rename the files to stream_* so that they appear after the metadata
file.  This makes it easier to open a new trace in Trace Compass.

Update #3665.
2019-09-04 07:17:06 +02:00
Sebastian Huber
fb5b75a9f3 record: Use exceptions
Update #3665.
2019-09-03 14:59:35 +02:00
Sebastian Huber
a124bdb851 record: Add Client base class
Update #3665.
2019-09-03 14:59:33 +02:00
Sebastian Huber
e0ac299e06 record: Convert to C++
Formatted with:

clang-format -style=Chromium -i trace/record/record-main-lttng.cc

Update #3665.
2019-09-03 14:59:00 +02:00
Sebastian Huber
7cb3a0fe7d record: Synchronize with RTEMS
Update #3665.
2019-09-02 07:50:34 +02:00
Chris Johns
c1e38871b2 rtemstoolkit/dwarf: Fix some C++ handling issues. 2019-09-02 10:11:37 +10:00
Sebastian Huber
f12734196b record: Synchronize with RTEMS
Update #3665.
2019-08-30 19:49:35 +02:00
Sebastian Huber
67f76380ea record: Synchronize with RTEMS
Update #3665.
2019-08-30 11:51:48 +02:00
Sebastian Huber
b1abc7d93a record: Synchronize with RTEMS
Update #3665.
2019-08-29 16:05:24 +02:00
Sebastian Huber
3c426562a5 record: Support thread names on 32-bit targets
Update #3665.
2019-08-27 08:48:31 +02:00
Sebastian Huber
3f45f38fc8 record: Add data size to client
This is necessary to get the thread names properly on 32-bit and 64-bit
targets.

Update #3665.
2019-08-27 08:48:28 +02:00
Sebastian Huber
6c4b7702df record: Add CPU to idle thread names
Update #3665.
2019-08-27 08:48:27 +02:00
Sebastian Huber
e488c98b80 record: Move base context to client context
Update #3665.
2019-08-27 08:48:25 +02:00
Sebastian Huber
91d0d1d848 record: Simplify packet context setup
Update #3665.
2019-08-27 08:48:24 +02:00
Sebastian Huber
577f98659a record: Move per-CPU variables to separate context
Update #3665.
2019-08-27 08:48:05 +02:00
Sebastian Huber
0c986b2f6a record: Fix client destruction 2019-08-26 13:31:38 +02:00
Sebastian Huber
e8a709ac8e record: Improve overflow handling
Signal the accumulated item overflow count with the time of the first
new item.
2019-08-26 13:31:18 +02:00
Kinsey Moore
5fcaf843bd Add JSON log generation
Add log formatter hooks and JSON log formatter to the test infrastructure
for consumption by automated processes or report generators.
2019-08-22 10:41:48 +10:00
Ravindra Meena
ba6b8af8bb record: Add support for LTTNG sched_switch 2019-08-20 22:45:35 +02:00
Sebastian Huber
f9dce02507 record: New program
Update #3665.
2019-08-20 22:42:39 +02:00
Chris Johns
deb54b6145 misc/tftpproxy: Add a proxy TFTP server.
- Uses a config INI file to map clients to servers

- Handle a number of requests to a single server's TFTP port (69)
  and multiplex to a non-su ports or different servers.

- Supports running rtems-test to more than one hardware device using
  TFTP at once.
2019-08-19 16:44:11 +10:00
Chris Johns
30a5cd65cc tester: Add raspberrypi2 BSP. 2019-07-26 10:44:04 +10:00
Nils Hölscher
f9e121688d misc/boot-image: fix uenv_exe_ftd bug. 2019-06-25 11:21:16 +10:00