21 Commits

Author SHA1 Message Date
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
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
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