projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean-up: sessiond: cmd_enable_channel_internal
[lttng-tools.git]
/
tests
/
utils
/
testapp
/
userspace-probe-elf-cxx-binary
/
userspace-probe-elf-cxx-binary.cpp
diff --git
a/tests/utils/testapp/userspace-probe-elf-cxx-binary/userspace-probe-elf-cxx-binary.cpp
b/tests/utils/testapp/userspace-probe-elf-cxx-binary/userspace-probe-elf-cxx-binary.cpp
index 6b30717ae6140104e1f974d0d06a05f10d1e2363..2e169c8fc4fc466d04ee70f0eb479250639d3924 100644
(file)
--- a/
tests/utils/testapp/userspace-probe-elf-cxx-binary/userspace-probe-elf-cxx-binary.cpp
+++ b/
tests/utils/testapp/userspace-probe-elf-cxx-binary/userspace-probe-elf-cxx-binary.cpp
@@
-8,12
+8,14
@@
#include "test_class.h"
volatile int not_a_function = 0;
#include "test_class.h"
volatile int not_a_function = 0;
-void __attribute__ ((noinline)) test_cxx_function()
+
+void test_cxx_function() __attribute__ ((noinline));
+void test_cxx_function()
{
not_a_function += 1;
}
{
not_a_function += 1;
}
-int main(
int argc, char *argv[]
)
+int main(
void
)
{
test_class my_test_class;
/* Call test function. */
{
test_class my_test_class;
/* Call test function. */
This page took
0.023799 seconds
and
4
git commands to generate.