pixie-demos icon indicating copy to clipboard operation
pixie-demos copied to clipboard

Can't run the openssl tracer

Open hansbogert opened this issue 2 years ago • 5 comments

When following the readme for the openssl-tracer, I get the following:

sudo ./openssl_tracer 1634608
In file included from <built-in>:2:
In file included from /virtual/include/bcc/bpf.h:12:
In file included from include/linux/types.h:6:
In file included from include/uapi/linux/types.h:14:
In file included from include/uapi/linux/posix_types.h:5:
In file included from include/linux/stddef.h:5:
In file included from include/uapi/linux/stddef.h:2:
In file included from include/linux/compiler_types.h:80:
include/linux/compiler-clang.h:41:9: warning: '__HAVE_BUILTIN_BSWAP32__' macro redefined [-Wmacro-redefined]
#define __HAVE_BUILTIN_BSWAP32__
        ^
<command line>:4:9: note: previous definition is here
#define __HAVE_BUILTIN_BSWAP32__ 1
        ^
In file included from <built-in>:2:
In file included from /virtual/include/bcc/bpf.h:12:
In file included from include/linux/types.h:6:
In file included from include/uapi/linux/types.h:14:
In file included from include/uapi/linux/posix_types.h:5:
In file included from include/linux/stddef.h:5:
In file included from include/uapi/linux/stddef.h:2:
In file included from include/linux/compiler_types.h:80:
include/linux/compiler-clang.h:42:9: warning: '__HAVE_BUILTIN_BSWAP64__' macro redefined [-Wmacro-redefined]
#define __HAVE_BUILTIN_BSWAP64__
        ^
<command line>:5:9: note: previous definition is here
#define __HAVE_BUILTIN_BSWAP64__ 1
        ^
In file included from <built-in>:2:
In file included from /virtual/include/bcc/bpf.h:12:
In file included from include/linux/types.h:6:
In file included from include/uapi/linux/types.h:14:
In file included from include/uapi/linux/posix_types.h:5:
In file included from include/linux/stddef.h:5:
In file included from include/uapi/linux/stddef.h:2:
In file included from include/linux/compiler_types.h:80:
include/linux/compiler-clang.h:43:9: warning: '__HAVE_BUILTIN_BSWAP16__' macro redefined [-Wmacro-redefined]
#define __HAVE_BUILTIN_BSWAP16__
        ^
<command line>:3:9: note: previous definition is here
#define __HAVE_BUILTIN_BSWAP16__ 1
        ^
3 warnings generated.
prog tag mismatch 9f16ca2b9f8b1e01 1
WARNING: cannot get prog tag, ignore saving source with program tag
Attached uprobe to binary /usr/lib/x86_64-linux-gnu/libssl.so.1.1 at symbol SSL_write
prog tag mismatch c4b89df08a974514 1
WARNING: cannot get prog tag, ignore saving source with program tag
Attached uprobe to binary /usr/lib/x86_64-linux-gnu/libssl.so.1.1 at symbol SSL_write
prog tag mismatch 9f16ca2b9f8b1e01 1
WARNING: cannot get prog tag, ignore saving source with program tag
Attached uprobe to binary /usr/lib/x86_64-linux-gnu/libssl.so.1.1 at symbol SSL_read
prog tag mismatch 12c46cd71c0a6c20 1
WARNING: cannot get prog tag, ignore saving source with program tag
Attached uprobe to binary /usr/lib/x86_64-linux-gnu/libssl.so.1.1 at symbol SSL_read
Opened perf buffer tls_events
Successfully deployed BPF probes. Tracing for SSL data. Use Ctrl-C to exit.

I don't see any actual data. (which I assume should present itself at the end of the output.)

hansbogert avatar Nov 19 '22 13:11 hansbogert