summaryrefslogtreecommitdiffstats
path: root/trace (follow)
Commit message (Collapse)AuthorAgeFilesLines
* record-main-lttng.cc: Change size of empty stringRyan Long2021-10-071-1/+1
| | | | | | | | | CID 1503017: Out-of-bounds access in CopyThreadName(). Change size of kEmptyThreadName from THREAD_API_COUNT to THREAD_NAME_SIZE. Closes #4519
* record-client.c: Ignore return value from visit()Ryan Long2021-09-301-1/+2
| | | | | | CID 1503011: Unchecked return value in resolve_hold_back(). Closes #4423
* record-filter-zlib.cc: Initialize stream_'s fieldsRyan Long2021-09-271-0/+13
| | | | | | CID 1503020: Uninitialized pointer field Closes #4434
* trace/wscript: Specify C language versionJoel Sherrill2021-04-021-2/+3
| | | | | CentOS 7 has gcc 4.8 which defaults to C90 and this results in warnings for code that is valid C99 but not C90.
* trace: Use c++14 instead of c++11 if possibleChristian Mauderer2020-07-231-1/+5
| | | | | | llvm version 10 uses features from c++14 standard in the headers. With that, the record/record-main-lttng.cc doesn't build any more. This patch makes sure that c++14 is used if it is available.
* record: Increase input buffer and alignmentSebastian Huber2020-03-171-1/+1
| | | | Update #3904.
* record: Add support for zlib compressed inputSebastian Huber2020-03-171-6/+18
| | | | Update #3904.
* record: Add zlib filter classSebastian Huber2020-03-173-0/+106
| | | | Update #3904.
* record: Add support for base64 encoded inputSebastian Huber2020-03-171-5/+16
| | | | Update #3904.
* record: Add base64 filter classSebastian Huber2020-03-173-0/+124
| | | | Update #3904.
* record: Add filter base classSebastian Huber2020-03-172-3/+51
| | | | Update #3904.
* record: Add option to print config default valuesSebastian Huber2020-03-171-9/+26
| | | | Update #3904.
* record: Add support for user defined event namesSebastian Huber2020-03-173-50/+164
|
* record: Add INI file parserSebastian Huber2020-03-174-2/+462
| | | | | | | | | | | | | | | | | | | | Import from: https://github.com/benhoyt/inih commit 351217124ddb3e3fe2b982248a04c672350bb0af Author: Stephan Lachnit <stephanlachnit@protonmail.com> Date: Sun Mar 1 07:31:28 2020 +0100 r48 release (#100) * Bump copyright to 2020 * Remove makefile for static library * meson: version 48 Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com> Update #3904.
* record: Format file headerSebastian Huber2020-03-173-9/+9
| | | | Update #3904.
* record: Guard config.h includeSebastian Huber2020-03-173-1/+8
| | | | Update #3904.
* record: Fix formatSebastian Huber2020-03-171-3/+4
| | | | Update #3904.
* record: Allow to compile with recent llvm version.Christian Mauderer2019-12-181-1/+6
| | | | | | It seems that the API for symbolizeCode changed between llvm8 and llvm9. This patch uses the same adaption that is used for the llvm-symbolizer tool in llvm commit b2c4b8bded3ff2efaaebe0d8b33c65116f9ef8de.
* Fix build issues on Debian 10Sebastian Huber2019-12-181-2/+9
|
* record: Remove unused constantSebastian Huber2019-11-181-3/+0
|
* record: Fix use of std::minSebastian Huber2019-09-101-1/+2
| | | | Update #3665.
* record: Optionally use LLVM to resolve addressesSebastian Huber2019-09-102-43/+185
| | | | Update #3665.
* record: Windows compatibilitySebastian Huber2019-09-102-6/+22
| | | | Update #3665.
* record: Add generic record eventsSebastian Huber2019-09-052-8/+57
| | | | Update #3665.
* record: Use C++ header files and namespace stdSebastian Huber2019-09-053-27/+28
| | | | Update #3665.
* record: Clean up metadataSebastian Huber2019-09-051-4/+4
| | | | Update #3665.
* waf: Clean up trace's wscriptChris Johns2019-09-051-2/+1
|
* record: Add limit optionSebastian Huber2019-09-043-9/+24
| | | | Update #3665.
* record: Simplify command line optionsSebastian Huber2019-09-041-8/+18
| | | | Update #3665.
* record: Simplify content and packet sizeSebastian Huber2019-09-041-10/+6
| | | | Update #3665.
* record: Add support for interrupt handlersSebastian Huber2019-09-041-4/+85
| | | | Update #3665.
* record: Simplify CopyThreadName()Sebastian Huber2019-09-041-3/+12
| | | | Update #3665.
* record: Only create necessary stream filesSebastian Huber2019-09-041-16/+32
| | | | | | | 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.
* record: Use exceptionsSebastian Huber2019-09-033-24/+78
| | | | Update #3665.
* record: Add Client base classSebastian Huber2019-09-034-189/+309
| | | | Update #3665.
* record: Convert to C++Sebastian Huber2019-09-033-586/+550
| | | | | | | | Formatted with: clang-format -style=Chromium -i trace/record/record-main-lttng.cc Update #3665.
* record: Synchronize with RTEMSSebastian Huber2019-09-022-7/+7
| | | | Update #3665.
* record: Synchronize with RTEMSSebastian Huber2019-08-302-61/+61
| | | | Update #3665.
* record: Synchronize with RTEMSSebastian Huber2019-08-302-19/+19
| | | | Update #3665.
* record: Synchronize with RTEMSSebastian Huber2019-08-292-129/+129
| | | | Update #3665.
* record: Support thread names on 32-bit targetsSebastian Huber2019-08-271-1/+1
| | | | Update #3665.
* record: Add data size to clientSebastian Huber2019-08-272-0/+9
| | | | | | | This is necessary to get the thread names properly on 32-bit and 64-bit targets. Update #3665.
* record: Add CPU to idle thread namesSebastian Huber2019-08-271-0/+13
| | | | Update #3665.
* record: Move base context to client contextSebastian Huber2019-08-271-36/+40
| | | | Update #3665.
* record: Simplify packet context setupSebastian Huber2019-08-271-34/+30
| | | | Update #3665.
* record: Move per-CPU variables to separate contextSebastian Huber2019-08-271-145/+135
| | | | Update #3665.
* record: Fix client destructionSebastian Huber2019-08-261-2/+2
|
* record: Improve overflow handlingSebastian Huber2019-08-262-25/+63
| | | | | Signal the accumulated item overflow count with the time of the first new item.
* record: Add support for LTTNG sched_switchRavindra Meena2019-08-202-32/+416
|
* record: New programSebastian Huber2019-08-206-0/+3467
Update #3665.