projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
elf: support dynamic symbol table lookup
[lttng-tools.git]
/
tests
/
utils
/
testapp
/
userspace-probe-elf-binary
/
userspace-probe-elf-binary.c
diff --git
a/tests/utils/testapp/userspace-probe-elf-binary/userspace-probe-elf-binary.c
b/tests/utils/testapp/userspace-probe-elf-binary/userspace-probe-elf-binary.c
index 76f44027fadbd10a68a243b1877e9f3fe49e38df..a9dfb22b4cccc1ae7cd679257cba77a8b0b700c6 100644
(file)
--- a/
tests/utils/testapp/userspace-probe-elf-binary/userspace-probe-elf-binary.c
+++ b/
tests/utils/testapp/userspace-probe-elf-binary/userspace-probe-elf-binary.c
@@
-16,6
+16,7
@@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include "foo.h"
volatile int not_a_function = 0;
void __attribute__ ((noinline)) test_function()
{
volatile int not_a_function = 0;
void __attribute__ ((noinline)) test_function()
{
@@
-24,5
+25,6
@@
void __attribute__ ((noinline)) test_function()
int main(int argc, char *argv[])
{
test_function();
int main(int argc, char *argv[])
{
test_function();
+ dynamic_symbol(42);
return 0;
}
return 0;
}
This page took
0.023923 seconds
and
5
git commands to generate.