17 Commits

Author SHA1 Message Date
Sebastian Huber
a78d940bf0 trace/wscript: Improve C++ standard selection
Use the latest C++ standard available up to C++20.

Close #4908.
Close #4965.
2024-01-19 07:45:53 +01:00
Chris Johns
75ffa6781a python: Updates for Python 3.12
- Change SafeConfigParser to ConfigParser

- Fix escape sequences in strings

Updates #4968
2023-11-21 15:47:17 +11:00
Joel Sherrill
c71a836310 trace/wscript: Specify C language version
CentOS 7 has gcc 4.8 which defaults to C90 and this results in warnings
for code that is valid C99 but not C90.
2021-04-02 09:29:57 -05:00
Christian Mauderer
37ad446d9d trace: Use c++14 instead of c++11 if possible
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-07-23 18:33:01 +02:00
Sebastian Huber
5fa2c3b3cb record: Add zlib filter class
Update #3904.
2020-03-17 11:36:05 +01:00
Sebastian Huber
5bc9f73a48 record: Add base64 filter class
Update #3904.
2020-03-17 11:36:05 +01:00
Sebastian Huber
b60abbfa83 record: Add INI file parser
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-17 11:36:05 +01:00
Sebastian Huber
4aa0d5f42f record: Guard config.h include
Update #3904.
2020-03-17 11:36:05 +01:00
Sebastian Huber
e2c8c49a6c Fix build issues on Debian 10 2019-12-18 07:05:17 +01: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
Chris Johns
1eaa300b3c waf: Clean up trace's wscript 2019-09-05 09:47:01 +10: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
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