projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
.gitignore: ignore local vscode workspace settings file
[lttng-tools.git]
/
tests
/
unit
/
test_kernel_probe.cpp
diff --git
a/tests/unit/test_kernel_probe.cpp
b/tests/unit/test_kernel_probe.cpp
index 12e6e3555f0a47181fd2a4bb30977c4362fbe3d9..bec28825b2c5b3c700c3f7fc68d54ffbbd90a78e 100644
(file)
--- a/
tests/unit/test_kernel_probe.cpp
+++ b/
tests/unit/test_kernel_probe.cpp
@@
-26,10
+26,10
@@
int lttng_opt_mi;
#define NUM_TESTS 24
#define NUM_TESTS 24
-static void test_kernel_probe_location_address(
void
)
+static void test_kernel_probe_location_address()
{
{
- struct lttng_kernel_probe_location *location =
NULL
;
- struct lttng_kernel_probe_location *location_from_buffer =
NULL
;
+ struct lttng_kernel_probe_location *location =
nullptr
;
+ struct lttng_kernel_probe_location *location_from_buffer =
nullptr
;
enum lttng_kernel_probe_location_status status;
enum lttng_kernel_probe_location_type type;
uint64_t address = 50, _address;
enum lttng_kernel_probe_location_status status;
enum lttng_kernel_probe_location_type type;
uint64_t address = 50, _address;
@@
-84,10
+84,10
@@
static void test_kernel_probe_location_address(void)
lttng_kernel_probe_location_destroy(location_from_buffer);
}
lttng_kernel_probe_location_destroy(location_from_buffer);
}
-static void test_kernel_probe_location_symbol(
void
)
+static void test_kernel_probe_location_symbol()
{
{
- struct lttng_kernel_probe_location *location =
NULL
;
- struct lttng_kernel_probe_location *location_from_buffer =
NULL
;
+ struct lttng_kernel_probe_location *location =
nullptr
;
+ struct lttng_kernel_probe_location *location_from_buffer =
nullptr
;
enum lttng_kernel_probe_location_status status;
enum lttng_kernel_probe_location_type type;
uint64_t offset = 50, _offset;
enum lttng_kernel_probe_location_status status;
enum lttng_kernel_probe_location_type type;
uint64_t offset = 50, _offset;
@@
-151,7
+151,7
@@
static void test_kernel_probe_location_symbol(void)
lttng_kernel_probe_location_destroy(location_from_buffer);
}
lttng_kernel_probe_location_destroy(location_from_buffer);
}
-int main(
void
)
+int main()
{
plan_tests(NUM_TESTS);
test_kernel_probe_location_address();
{
plan_tests(NUM_TESTS);
test_kernel_probe_location_address();
This page took
0.040767 seconds
and
4
git commands to generate.