summaryrefslogtreecommitdiffstats
path: root/trace (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-10-07record-main-lttng.cc: Change size of empty stringRyan Long1-1/+1
CID 1503017: Out-of-bounds access in CopyThreadName(). Change size of kEmptyThreadName from THREAD_API_COUNT to THREAD_NAME_SIZE. Closes #4519
2021-09-30record-client.c: Ignore return value from visit()Ryan Long1-1/+2
CID 1503011: Unchecked return value in resolve_hold_back(). Closes #4423
2021-09-27record-filter-zlib.cc: Initialize stream_'s fieldsRyan Long1-0/+13
CID 1503020: Uninitialized pointer field Closes #4434
2021-04-02trace/wscript: Specify C language versionJoel Sherrill1-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.
2020-07-23trace: Use c++14 instead of c++11 if possibleChristian Mauderer1-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.
2020-03-17record: Increase input buffer and alignmentSebastian Huber1-1/+1
Update #3904.
2020-03-17record: Add support for zlib compressed inputSebastian Huber1-6/+18
Update #3904.
2020-03-17record: Add zlib filter classSebastian Huber3-0/+106
Update #3904.
2020-03-17record: Add support for base64 encoded inputSebastian Huber1-5/+16
Update #3904.
2020-03-17record: Add base64 filter classSebastian Huber3-0/+124
Update #3904.
2020-03-17record: Add filter base classSebastian Huber2-3/+51
Update #3904.
2020-03-17record: Add option to print config default valuesSebastian Huber1-9/+26
Update #3904.
2020-03-17record: Add support for user defined event namesSebastian Huber3-50/+164
2020-03-17record: Add INI file parserSebastian Huber4-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.
2020-03-17record: Format file headerSebastian Huber3-9/+9
Update #3904.
2020-03-17record: Guard config.h includeSebastian Huber3-1/+8
Update #3904.
2020-03-17record: Fix formatSebastian Huber1-3/+4
Update #3904.
2019-12-18record: Allow to compile with recent llvm version.Christian Mauderer1-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.
2019-12-18Fix build issues on Debian 10Sebastian Huber1-2/+9
2019-11-18record: Remove unused constantSebastian Huber1-3/+0
2019-09-10record: Fix use of std::minSebastian Huber1-1/+2
Update #3665.
2019-09-10record: Optionally use LLVM to resolve addressesSebastian Huber2-43/+185
Update #3665.
2019-09-10record: Windows compatibilitySebastian Huber2-6/+22
Update #3665.
2019-09-05record: Add generic record eventsSebastian Huber2-8/+57
Update #3665.
2019-09-05record: Use C++ header files and namespace stdSebastian Huber3-27/+28
Update #3665.
2019-09-05record: Clean up metadataSebastian Huber1-4/+4
Update #3665.
2019-09-05waf: Clean up trace's wscriptChris Johns1-2/+1
2019-09-04record: Add limit optionSebastian Huber3-9/+24
Update #3665.
2019-09-04record: Simplify command line optionsSebastian Huber1-8/+18
Update #3665.
2019-09-04record: Simplify content and packet sizeSebastian Huber1-10/+6
Update #3665.
2019-09-04record: Add support for interrupt handlersSebastian Huber1-4/+85
Update #3665.
2019-09-04record: Simplify CopyThreadName()Sebastian Huber1-3/+12
Update #3665.
2019-09-04record: Only create necessary stream filesSebastian Huber1-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.
2019-09-03record: Use exceptionsSebastian Huber3-24/+78
Update #3665.
2019-09-03record: Add Client base classSebastian Huber4-189/+309
Update #3665.
2019-09-03record: Convert to C++Sebastian Huber3-586/+550
Formatted with: clang-format -style=Chromium -i trace/record/record-main-lttng.cc Update #3665.
2019-09-02record: Synchronize with RTEMSSebastian Huber2-7/+7
Update #3665.
2019-08-30record: Synchronize with RTEMSSebastian Huber2-61/+61
Update #3665.
2019-08-30record: Synchronize with RTEMSSebastian Huber2-19/+19
Update #3665.
2019-08-29record: Synchronize with RTEMSSebastian Huber2-129/+129
Update #3665.
2019-08-27record: Support thread names on 32-bit targetsSebastian Huber1-1/+1
Update #3665.
2019-08-27record: Add data size to clientSebastian Huber2-0/+9
This is necessary to get the thread names properly on 32-bit and 64-bit targets. Update #3665.
2019-08-27record: Add CPU to idle thread namesSebastian Huber1-0/+13
Update #3665.
2019-08-27record: Move base context to client contextSebastian Huber1-36/+40
Update #3665.
2019-08-27record: Simplify packet context setupSebastian Huber1-34/+30
Update #3665.
2019-08-27record: Move per-CPU variables to separate contextSebastian Huber1-145/+135
Update #3665.
2019-08-26record: Fix client destructionSebastian Huber1-2/+2
2019-08-26record: Improve overflow handlingSebastian Huber2-25/+63
Signal the accumulated item overflow count with the time of the first new item.
2019-08-20record: Add support for LTTNG sched_switchRavindra Meena2-32/+416
2019-08-20record: New programSebastian Huber6-0/+3467
Update #3665.