27: text = _assert_is_bytes(text)
27: .
27: ----------------------------------------------------------------------
27: Ran 4 tests in 1.475s
27:
27: OK
27/42 Test #27: py_test_percpu ................... Passed 1.65 sec
test 28
Start 28: py_test_dump_func
28: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_dump_func" "simple" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_dump_func.py"
28: Test timeout computed to be: 10000000
28: In file included from <built-in>:3:
28: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
28: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
28: ^
28: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
28: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
28: ^
28: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
28: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
28: ^
28: 3 warnings generated.
28: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: '\n int entry(void)\n {\n return 1;\n }'
28: text = _assert_is_bytes(text)
28: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:415: DeprecationWarning: not a bytes object: 'entry'
28: func_name = _assert_is_bytes(func_name)
28: .
28: ----------------------------------------------------------------------
28: Ran 1 test in 0.140s
28:
28: OK
28/42 Test #28: py_test_dump_func ................ Passed 0.28 sec
test 29
Start 29: py_test_disassembler
29: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_disassembler" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_disassembler.py"
29: Test timeout computed to be: 10000000
29: .In file included from <built-in>:3:
29: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
29: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
29: ^
29: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
29: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
29: ^
29: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
29: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
29: ^
29: 3 warnings generated.
29: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: '\n struct key_t {int a; short b; struct {int c:4; int d:8;} e;} __attribute__((__packed__));\n BPF_HASH(test_map, struct key_t);\n int test_func(void)\n {\n return 1;\n }'
29: text = _assert_is_bytes(text)
29: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:415: DeprecationWarning: not a bytes object: 'test_func'
29: func_name = _assert_is_bytes(func_name)
29: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'test_map'
29: name = _assert_is_bytes(name)
29: .
29: ----------------------------------------------------------------------
29: Ran 2 tests in 0.150s
29:
29: OK
29/42 Test #29: py_test_disassembler ............. Passed 0.32 sec
test 30
Start 30: py_test_tools_smoke
30: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_tools_smoke" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_smoke.py"
30: Test timeout computed to be: 10000000
30: In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: Traceback (most recent call last):
30: File "../../tools/argdist.py", line 712, in run
30: self._main_loop()
30: File "../../tools/argdist.py", line 702, in _main_loop
30: exit()
30: File "/usr/lib64/python2.7/site.py", line 355, in __call__
30: raise SystemExit(code)
30: SystemExit: None
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: 'unknown': unknown terminal type.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: 'unknown': unknown terminal type.
30: 'unknown': unknown terminal type.
30: 'unknown': unknown terminal type.
30: ....In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: ..In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: ...In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: ..In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: 'unknown': unknown terminal type.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: /bin/sh: line 1: 11854 Killed timeout -s KILL -k 5s 5s ../../tools/killsnoop.py > /dev/null
30: .s.In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: ....In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: WARNING: 1 stack traces lost and could not be displayed.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .libbpf: failed to find valid kernel BTF
30: libbpf: vmlinux BTF is not found
30: In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: 'unknown': unknown terminal type.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: 'unknown': unknown terminal type.
30: ..In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: 'unknown': unknown terminal type.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: ...In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: 'unknown': unknown terminal type.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .libbpf: failed to find valid kernel BTF
30: libbpf: vmlinux BTF is not found
30: In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .In file included from <built-in>:3:
30: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
30: ^
30: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
30: ^
30: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
30: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
30: ^
30: 3 warnings generated.
30: .....
30: ----------------------------------------------------------------------
30: Ran 83 tests in 273.924s
30:
30: OK (skipped=1)
30/42 Test #30: py_test_tools_smoke .............. Passed 274.13 sec
test 31
Start 31: py_test_tools_memleak
31: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_tools_memleak" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_tools_memleak.py"
31: Test timeout computed to be: 10000000
31: In file included from <built-in>:3:
31: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
31: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
31: ^
31: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
31: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
31: ^
31: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
31: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
31: ^
31: 3 warnings generated.
31: .In file included from <built-in>:3:
31: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
31: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
31: ^
31: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
31: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
31: ^
31: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
31: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
31: ^
31: 3 warnings generated.
31: .In file included from <built-in>:3:
31: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
31: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
31: ^
31: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
31: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
31: ^
31: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
31: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
31: ^
31: 3 warnings generated.
31: .In file included from <built-in>:3:
31: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
31: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
31: ^
31: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
31: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
31: ^
31: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
31: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
31: ^
31: 3 warnings generated.
31: .In file included from <built-in>:3:
31: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
31: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
31: ^
31: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
31: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
31: ^
31: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
31: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
31: ^
31: 3 warnings generated.
31: .In file included from <built-in>:3:
31: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
31: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
31: ^
31: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
31: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
31: ^
31: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
31: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
31: ^
31: 3 warnings generated.
31: .In file included from <built-in>:3:
31: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
31: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
31: ^
31: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
31: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
31: ^
31: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
31: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
31: ^
31: 3 warnings generated.
31: .In file included from <built-in>:3:
31: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
31: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
31: ^
31: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
31: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
31: ^
31: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
31: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
31: ^
31: 3 warnings generated.
31: .
31: ----------------------------------------------------------------------
31: Ran 8 tests in 22.064s
31:
31: OK
31/42 Test #31: py_test_tools_memleak ............ Passed 22.17 sec
test 32
Start 32: py_test_usdt
32: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_usdt" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_usdt.py"
32: Test timeout computed to be: 10000000
32: <stdin>: In function โmainโ:
32: <stdin>:23:17: warning: null character(s) preserved in literal
32: <stdin>:28:17: warning: null character(s) preserved in literal
32: clang -cc1 -triple x86_64-unknown-linux-gnu -emit-llvm-bc -emit-llvm-uselists -disable-free -disable-llvm-verifier -discard-value-names -main-file-name main.c -mrelocation-model static -mthread-model posix -fmath-errno -masm-verbose -mconstructor-aliases -fuse-init-array -target-cpu x86-64 -dwarf-column-info -debugger-tuning=gdb -momit-leaf-frame-pointer -coverage-notes-file /usr/src/kernels/4.17.12-200.fc28.x86_64/main.gcno -nostdsysteminc -nobuiltininc -resource-dir lib64/clang/6.0.1 -isystem /virtual/lib/clang/include -include ./include/linux/kconfig.h -include /virtual/include/bcc/bpf.h -include /virtual/include/bcc/helpers.h -isystem /virtual/include -I /home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python -D __BPF_TRACING__ -I /lib/modules/4.17.12-200.fc28.x86_64/build/arch/x86/include -I /lib/modules/4.17.12-200.fc28.x86_64/build/arch/x86/include/generated/uapi -I /lib/modules/4.17.12-200.fc28.x86_64/build/arch/x86/include/generated -I /lib/modules/4.17.12-200.fc28.x86_64/build/include -I /lib/modules/4.17.12-200.fc28.x86_64/build/./arch/x86/include/uapi -I /lib/modules/4.17.12-200.fc28.x86_64/build/arch/x86/include/generated/uapi -I /lib/modules/4.17.12-200.fc28.x86_64/build/include/uapi -I /lib/modules/4.17.12-200.fc28.x86_64/build/include/generated -I /lib/modules/4.17.12-200.fc28.x86_64/build/include/generated/uapi -I ./arch/x86/include -I arch/x86/include/generated/uapi -I arch/x86/include/generated -I include -I ./arch/x86/include/uapi -I arch/x86/include/generated/uapi -I ./include/uapi -I include/generated/uapi -D __KERNEL__ -D __HAVE_BUILTIN_BSWAP16__ -D __HAVE_BUILTIN_BSWAP32__ -D __HAVE_BUILTIN_BSWAP64__ -O2 -Wno-deprecated-declarations -Wno-gnu-variable-sized-type-not-at-end -Wno-pragma-once-outside-header -Wno-address-of-packed-member -Wno-unknown-warning-option -Wno-unused-value -Wno-pointer-sign -fdebug-compilation-dir /usr/src/kernels/4.17.12-200.fc28.x86_64 -ferror-limit 19 -fmessage-length 0 -fobjc-runtime=gcc -fdiagnostics-show-option -vectorize-loops -vectorize-slp -o main.bc -x c /virtual/main.c
32: In file included from <built-in>:3:
32: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
32: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
32: ^
32: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
32: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
32: ^
32: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
32: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
32: ^
32: #if defined(BPF_LICENSE)
32: #error BPF_LICENSE cannot be specified through cflags
32: #endif
32: #if !defined(CONFIG_CC_STACKPROTECTOR)
32: #if defined(CONFIG_CC_STACKPROTECTOR_AUTO) \
32: || defined(CONFIG_CC_STACKPROTECTOR_REGULAR) \
32: || defined(CONFIG_CC_STACKPROTECTOR_STRONG)
32: #define CONFIG_CC_STACKPROTECTOR
32: #endif
32: #endif
32: #include <uapi/linux/ptrace.h>
32: __attribute__((always_inline))
32: static __always_inline int _bpf_readarg_do_trace1_1(struct pt_regs *ctx, void *dest, size_t len) {
32: if (len != sizeof(int8_t)) return -1;
32: switch(PT_REGS_IP(ctx)) {
32: case 0x400687ULL: *((int8_t *)dest) = ctx->ax; __asm__ __volatile__("": : :"memory"); return 0;
32: case 0x400690ULL: *((int8_t *)dest) = ctx->ax; __asm__ __volatile__("": : :"memory"); return 0;
32: }
32: return -1;
32: }
32: __attribute__((always_inline))
32: static __always_inline int _bpf_readarg_do_trace1_2(struct pt_regs *ctx, void *dest, size_t len) {
32: if (len != sizeof(int32_t)) return -1;
32: switch(PT_REGS_IP(ctx)) {
32: case 0x400687ULL: { u64 __addr = ctx->bp + -24; __asm__ __volatile__("": : :"memory"); int32_t __res = 0x0; bpf_probe_read(&__res, sizeof(__res), (void *)__addr); *((int32_t *)dest) = __res; } return 0;
32: case 0x400690ULL: { u64 __addr = ctx->bp + -20; __asm__ __volatile__("": : :"memory"); int32_t __res = 0x0; bpf_probe_read(&__res, sizeof(__res), (void *)__addr); *((int32_t *)dest) = __res; } return 0;
32: }
32: return -1;
32: }
32: __attribute__((always_inline))
32: static __always_inline int _bpf_readarg_do_trace3_1(struct pt_regs *ctx, void *dest, size_t len) {
32: if (len != sizeof(int32_t)) return -1;
32: switch(PT_REGS_IP(ctx)) {
32: case 0x400688ULL: { u64 __addr = ctx->bp + -20; __asm__ __volatile__("": : :"memory"); int32_t __res = 0x0; bpf_probe_read(&__res, sizeof(__res), (void *)__addr); *((int32_t *)dest) = __res; } return 0;
32: case 0x4006a7ULL: *((int32_t *)dest) = ctx->ax; __asm__ __volatile__("": : :"memory"); return 0;
32: }
32: return -1;
32: }
32: __attribute__((always_inline))
32: static __always_inline int _bpf_readarg_do_trace3_2(struct pt_regs *ctx, void *dest, size_t len) {
32: if (len != sizeof(int32_t)) return -1;
32: switch(PT_REGS_IP(ctx)) {
32: case 0x400688ULL: { u64 __addr = ctx->bp + -24; __asm__ __volatile__("": : :"memory"); int32_t __res = 0x0; bpf_probe_read(&__res, sizeof(__res), (void *)__addr); *((int32_t *)dest) = __res; } return 0;
32: case 0x4006a7ULL: *((int32_t *)dest) = ctx->dx; __asm__ __volatile__("": : :"memory"); return 0;
32: }
32: return -1;
32: }
32: __attribute__((always_inline))
32: static __always_inline int _bpf_readarg_do_trace2_1(struct pt_regs *ctx, void *dest, size_t len) {
32: if (len != sizeof(int32_t)) return -1;
32: *((int32_t *)dest) = 5;
32: return 0;
32: }
32: __attribute__((always_inline))
32: static __always_inline int _bpf_readarg_do_trace2_2(struct pt_regs *ctx, void *dest, size_t len) {
32: if (len != sizeof(int8_t)) return -1;
32: *((int8_t *)dest) = ctx->ax; __asm__ __volatile__("": : :"memory");
32: return 0;
32: }
32: __attribute__((always_inline))
32: static __always_inline int _bpf_readarg_do_trace4_1(struct pt_regs *ctx, void *dest, size_t len) {
32: if (len != sizeof(int64_t)) return -1;
32: *((int64_t *)dest) = ctx->ax; __asm__ __volatile__("": : :"memory");
32: return 0;
32: }
32: __attribute__((always_inline))
32: static __always_inline int _bpf_readarg_do_trace4_2(struct pt_regs *ctx, void *dest, size_t len) {
32: if (len != sizeof(int64_t)) return -1;
32: *((int64_t *)dest) = ctx->dx; __asm__ __volatile__("": : :"memory");
32: return 0;
32: }
32: __attribute__((always_inline))
32: static __always_inline int _bpf_readarg_do_trace5_1(struct pt_regs *ctx, void *dest, size_t len) {
32: if (len != sizeof(int64_t)) return -1;
32: *((int64_t *)dest) = ctx->dx; __asm__ __volatile__("": : :"memory");
32: return 0;
32: }
32: __attribute__((always_inline))
32: static __always_inline int _bpf_readarg_do_trace5_2(struct pt_regs *ctx, void *dest, size_t len) {
32: if (len != sizeof(int64_t)) return -1;
32: *((int64_t *)dest) = ctx->ax; __asm__ __volatile__("": : :"memory");
32: return 0;
32: }
32:
32: #include <linux/blkdev.h>
32: #include <uapi/linux/ptrace.h>
32:
32: struct probe_result_t1 {
32: char v1;
32: int v2;
32: };
32:
32: struct probe_result_t2 {
32: int v1;
32: char v2;
32: };
32:
32: struct probe_result_t3 {
32: int v1;
32: int v2;
32: };
32:
32: struct probe_result_t4 {
32: u64 v1;
32: char v2[8];
32: };
32:
32: struct probe_result_t5 {
32: char v1[8];
32: u64 v2;
32: };
32:
32: BPF_PERF_OUTPUT(event1);
32: BPF_PERF_OUTPUT(event2);
32: BPF_PERF_OUTPUT(event3);
32: BPF_PERF_OUTPUT(event4);
32: BPF_PERF_OUTPUT(event5);
32:
32: __attribute__((section(".bpf.fn.do_trace1")))
32: int do_trace1(struct pt_regs *ctx) {
32:
32: struct probe_result_t1 result = {};
32: _bpf_readarg_do_trace1_1(ctx, &result.v1, sizeof(*(&result.v1)));
32: _bpf_readarg_do_trace1_2(ctx, &result.v2, sizeof(*(&result.v2)));
32: bpf_perf_event_output(ctx, bpf_pseudo_fd(1, -1), CUR_CPU_IDENTIFIER, &result, sizeof(result));
32: return 0;
32: };
32: __attribute__((section(".bpf.fn.do_trace2")))
32: int do_trace2(struct pt_regs *ctx) {
32:
32: struct probe_result_t2 result = {};
32: _bpf_readarg_do_trace2_1(ctx, &result.v1, sizeof(*(&result.v1)));
32: _bpf_readarg_do_trace2_2(ctx, &result.v2, sizeof(*(&result.v2)));
32: bpf_perf_event_output(ctx, bpf_pseudo_fd(1, -2), CUR_CPU_IDENTIFIER, &result, sizeof(result));
32: return 0;
32: }
32: __attribute__((section(".bpf.fn.do_trace3")))
32: int do_trace3(struct pt_regs *ctx) {
32:
32: struct probe_result_t3 result = {};
32: _bpf_readarg_do_trace3_1(ctx, &result.v1, sizeof(*(&result.v1)));
32: _bpf_readarg_do_trace3_2(ctx, &result.v2, sizeof(*(&result.v2)));
32: bpf_perf_event_output(ctx, bpf_pseudo_fd(1, -3), CUR_CPU_IDENTIFIER, &result, sizeof(result));
32: return 0;
32: }
32: __attribute__((section(".bpf.fn.do_trace4")))
32: int do_trace4(struct pt_regs *ctx) {
32:
32: struct probe_result_t4 result = {};
32: _bpf_readarg_do_trace4_1(ctx, &result.v1, sizeof(*(&result.v1)));
32: ({ u64 __addr = 0x0; _bpf_readarg_do_trace4_2(ctx, &__addr, sizeof(__addr));bpf_probe_read(&result.v2, sizeof(result.v2), (void *)__addr);});
32: bpf_perf_event_output(ctx, bpf_pseudo_fd(1, -4), CUR_CPU_IDENTIFIER, &result, sizeof(result));
32: return 0;
32: }
32: __attribute__((section(".bpf.fn.do_trace5")))
32: int do_trace5(struct pt_regs *ctx) {
32:
32: struct probe_result_t5 result = {};
32: ({ u64 __addr = 0x0; _bpf_readarg_do_trace5_1(ctx, &__addr, sizeof(__addr));bpf_probe_read(&result.v1, sizeof(result.v1), (void *)__addr);});
32: _bpf_readarg_do_trace5_2(ctx, &result.v2, sizeof(*(&result.v2)));
32: bpf_perf_event_output(ctx, bpf_pseudo_fd(1, -5), CUR_CPU_IDENTIFIER, &result, sizeof(result));
32: return 0;
32: }
32:
32: #include <bcc/footer.h>
32: 3 warnings generated.
32: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: '\n#include <linux/blkdev.h>\n#include <uapi/linux/ptrace.h>\n\nstruct probe_result_t1 {\n char v1;\n int v2;\n};\n\nstruct probe_result_t2 {\n int v1;\n char v2;\n};\n\nstruct probe_result_t3 {\n int v1;\n int v2;\n};\n\nstruct probe_result_t4 {\n u64 v1;\n char v2[8];\n};\n\nstruct probe_result_t5 {\n char v1[8];\n u64 v2;\n};\n\nBPF_PERF_OUTPUT(event1);\nBPF_PERF_OUTPUT(event2);\nBPF_PERF_OUTPUT(event3);\nBPF_PERF_OUTPUT(event4);\nBPF_PERF_OUTPUT(event5);\n\nint do_trace1(struct pt_regs *ctx) {\n struct probe_result_t1 result = {};\n bpf_usdt_readarg(1, ctx, &result.v1);\n bpf_usdt_readarg(2, ctx, &result.v2);\n event1.perf_submit(ctx, &result, sizeof(result));\n return 0;\n};\nint do_trace2(struct pt_regs *ctx) {\n struct probe_result_t2 result = {};\n bpf_usdt_readarg(1, ctx, &result.v1);\n bpf_usdt_readarg(2, ctx, &result.v2);\n event2.perf_submit(ctx, &result, sizeof(result));\n return 0;\n}\nint do_trace3(struct pt_regs *ctx) {\n struct probe_result_t3 result = {};\n bpf_usdt_readarg(1, ctx, &result.v1);\n bpf_usdt_readarg(2, ctx, &result.v2);\n event3.perf_submit(ctx, &result, sizeof(result));\n return 0;\n}\nint do_trace4(struct pt_regs *ctx) {\n struct probe_result_t4 result = {};\n bpf_usdt_readarg(1, ctx, &result.v1);\n bpf_usdt_readarg_p(2, ctx, &result.v2, sizeof(result.v2));\n event4.perf_submit(ctx, &result, sizeof(result));\n return 0;\n}\nint do_trace5(struct pt_regs *ctx) {\n struct probe_result_t5 result = {};\n bpf_usdt_readarg_p(1, ctx, &result.v1, sizeof(result.v1));\n bpf_usdt_readarg(2, ctx, &result.v2);\n event5.perf_submit(ctx, &result, sizeof(result));\n return 0;\n}\n'
32: text = _assert_is_bytes(text)
32: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1080: DeprecationWarning: not a bytes object: '/proc/12040/root/tmp/tmp1bdw39vr'
32: name = _assert_is_bytes(name)
32: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1083: DeprecationWarning: not a bytes object: 'do_trace1'
32: fn_name = _assert_is_bytes(fn_name)
32: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1083: DeprecationWarning: not a bytes object: 'do_trace3'
32: fn_name = _assert_is_bytes(fn_name)
32: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1083: DeprecationWarning: not a bytes object: 'do_trace2'
32: fn_name = _assert_is_bytes(fn_name)
32: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1083: DeprecationWarning: not a bytes object: 'do_trace4'
32: fn_name = _assert_is_bytes(fn_name)
32: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1083: DeprecationWarning: not a bytes object: 'do_trace5'
32: fn_name = _assert_is_bytes(fn_name)
32: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'event1'
32: name = _assert_is_bytes(name)
32: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'event2'
32: name = _assert_is_bytes(name)
32: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'event3'
32: name = _assert_is_bytes(name)
32: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'event4'
32: name = _assert_is_bytes(name)
32: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'event5'
32: name = _assert_is_bytes(name)
32: .
32: ----------------------------------------------------------------------
32: Ran 1 test in 4.061s
32:
32: OK
32: b'str4'
32: b'str5'
32: b'str6'
32: b'str7'
32: b'str8'
32: b'str9'
32: Running from kernel directory at: /lib/modules/4.17.12-200.fc28.x86_64/source
32/42 Test #32: py_test_usdt ..................... Passed 4.37 sec
test 33
Start 33: py_test_usdt2
33: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_usdt2" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_usdt2.py"
33: Test timeout computed to be: 10000000
33: In file included from <built-in>:3:
33: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
33: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
33: ^
33: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
33: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
33: ^
33: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
33: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
33: ^
33: 3 warnings generated.
33: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\n\nBPF_PERF_OUTPUT(event1);\nBPF_PERF_OUTPUT(event2);\nBPF_PERF_OUTPUT(event3);\nBPF_PERF_OUTPUT(event4);\nBPF_PERF_OUTPUT(event5);\nBPF_PERF_OUTPUT(event6);\n\nint do_trace1(struct pt_regs *ctx) {\n u32 pid = bpf_get_current_pid_tgid();\n int result = 0;\n bpf_usdt_readarg(1, ctx, &result);\n if (pid == 12050)\n event1.perf_submit(ctx, &result, sizeof(result));\n else\n event4.perf_submit(ctx, &result, sizeof(result));\n return 0;\n};\nint do_trace2(struct pt_regs *ctx) {\n u32 pid = bpf_get_current_pid_tgid();\n int result = 0;\n bpf_usdt_readarg(1, ctx, &result);\n if (pid == 12050)\n event2.perf_submit(ctx, &result, sizeof(result));\n else\n event5.perf_submit(ctx, &result, sizeof(result));\n return 0;\n}\nint do_trace3(struct pt_regs *ctx) {\n u32 pid = bpf_get_current_pid_tgid();\n int result = 0;\n bpf_usdt_readarg(1, ctx, &result);\n if (pid == 12050)\n event3.perf_submit(ctx, &result, sizeof(result));\n else\n event6.perf_submit(ctx, &result, sizeof(result));\n return 0;\n}\n'
33: text = _assert_is_bytes(text)
33: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1080: DeprecationWarning: not a bytes object: '/proc/12050/root/tmp/tmpp0m1tx02'
33: name = _assert_is_bytes(name)
33: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1083: DeprecationWarning: not a bytes object: 'do_trace1'
33: fn_name = _assert_is_bytes(fn_name)
33: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1083: DeprecationWarning: not a bytes object: 'do_trace2'
33: fn_name = _assert_is_bytes(fn_name)
33: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1080: DeprecationWarning: not a bytes object: '/proc/12051/root/tmp/tmpp0m1tx02'
33: name = _assert_is_bytes(name)
33: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1083: DeprecationWarning: not a bytes object: 'do_trace3'
33: fn_name = _assert_is_bytes(fn_name)
33: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'event1'
33: name = _assert_is_bytes(name)
33: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'event2'
33: name = _assert_is_bytes(name)
33: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'event3'
33: name = _assert_is_bytes(name)
33: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'event4'
33: name = _assert_is_bytes(name)
33: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'event5'
33: name = _assert_is_bytes(name)
33: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'event6'
33: name = _assert_is_bytes(name)
33: .
33: ----------------------------------------------------------------------
33: Ran 1 test in 2.058s
33:
33: OK
33/42 Test #33: py_test_usdt2 .................... Passed 2.31 sec
test 34
Start 34: py_test_usdt3
34: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_usdt3" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_usdt3.py"
34: Test timeout computed to be: 10000000
34: test:probe [sema 0x0]
34: location #1 /proc/12074/root/tmp/tmpupgnzbrz/liba.so 0x5c0
34: argument #1 4 signed bytes @ *(bp - 4)
34: location #2 /proc/12074/root/tmp/tmpupgnzbrz/libb.so 0x5c0
34: argument #1 4 signed bytes @ *(bp - 4)
34: location #3 /proc/12074/root/tmp/tmpupgnzbrz/a.out 0x40065d
34: argument #1 4 signed bytes @ *(bp - 4)
34: test_dup_name:probe [sema 0x0]
34: location #1 /proc/12074/root/tmp/tmpupgnzbrz/liba.so 0x5c1
34: argument #1 4 signed bytes @ *(bp - 4)
34: location #2 /proc/12074/root/tmp/tmpupgnzbrz/libb.so 0x5c1
34: argument #1 4 signed bytes @ *(bp - 4)
34: location #3 /proc/12074/root/tmp/tmpupgnzbrz/a.out 0x40065e
34: argument #1 4 signed bytes @ *(bp - 4)
34: libc:setjmp [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/libc-2.27.so 0x36cc1
34: argument #1 8 unsigned bytes @ di
34: argument #2 4 signed bytes @ si
34: argument #3 8 unsigned bytes @ ax
34: libc:longjmp [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/libc-2.27.so 0x36da3
34: argument #1 8 unsigned bytes @ di
34: argument #2 4 signed bytes @ si
34: argument #3 8 unsigned bytes @ dx
34: location #2 /proc/12074/root/usr/lib64/libc-2.27.so 0x10b493
34: argument #1 8 unsigned bytes @ di
34: argument #2 4 signed bytes @ si
34: argument #3 8 unsigned bytes @ dx
34: libc:longjmp_target [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/libc-2.27.so 0x36dbf
34: argument #1 8 unsigned bytes @ di
34: argument #2 4 signed bytes @ ax
34: argument #3 8 unsigned bytes @ dx
34: location #2 /proc/12074/root/usr/lib64/libc-2.27.so 0x10b4af
34: argument #1 8 unsigned bytes @ di
34: argument #2 4 signed bytes @ ax
34: argument #3 8 unsigned bytes @ dx
34: libc:memory_mallopt_arena_max [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/libc-2.27.so 0x7f783
34: argument #1 8 unsigned bytes @ ax
34: argument #2 8 unsigned bytes @ *(&mp_ + 32)
34: location #2 /proc/12074/root/usr/lib64/libc-2.27.so 0x85dc9
34: argument #1 8 unsigned bytes @ bx
34: argument #2 8 unsigned bytes @ *(&mp_ + 32)
34: libc:memory_mallopt_arena_test [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/libc-2.27.so 0x7f793
34: argument #1 8 unsigned bytes @ ax
34: argument #2 8 unsigned bytes @ *(&mp_ + 24)
34: location #2 /proc/12074/root/usr/lib64/libc-2.27.so 0x85de1
34: argument #1 8 unsigned bytes @ bx
34: argument #2 8 unsigned bytes @ *(&mp_ + 24)
34: libc:memory_tunable_tcache_max_bytes [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/libc-2.27.so 0x7f7ab
34: argument #1 8 unsigned bytes @ ax
34: argument #2 8 unsigned bytes @ *(&mp_ + 88)
34: libc:memory_tunable_tcache_count [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/libc-2.27.so 0x7f7e3
34: argument #1 8 unsigned bytes @ ax
34: argument #2 8 unsigned bytes @ *(&mp_ + 96)
34: libc:memory_tunable_tcache_unsorted_limit [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/libc-2.27.so 0x7f7f3
34: argument #1 8 unsigned bytes @ ax
34: argument #2 8 unsigned bytes @ *(&mp_ + 104)
34: libc:memory_mallopt_trim_threshold [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/libc-2.27.so 0x7fc03
34: argument #1 8 unsigned bytes @ ax
34: argument #2 8 unsigned bytes @ *(&mp_ + 0)
34: argument #3 4 signed bytes @ *(&mp_ + 52)
34: location #2 /proc/12074/root/usr/lib64/libc-2.27.so 0x85d60
34: argument #1 8 unsigned bytes @ bx
34: argument #2 8 unsigned bytes @ *(&mp_ + 0)
34: argument #3 4 signed bytes @ *(&mp_ + 52)
34: libc:memory_mallopt_top_pad [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/libc-2.27.so 0x7fc23
34: argument #1 8 unsigned bytes @ ax
34: argument #2 8 unsigned bytes @ *(&mp_ + 8)
34: argument #3 4 signed bytes @ *(&mp_ + 52)
34: location #2 /proc/12074/root/usr/lib64/libc-2.27.so 0x85e90
34: argument #1 8 unsigned bytes @ bx
34: argument #2 8 unsigned bytes @ *(&mp_ + 8)
34: argument #3 4 signed bytes @ *(&mp_ + 52)
34: libc:memory_mallopt_mmap_threshold [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/libc-2.27.so 0x7fc50
34: argument #1 8 unsigned bytes @ ax
34: argument #2 8 unsigned bytes @ *(&mp_ + 16)
34: argument #3 4 signed bytes @ *(&mp_ + 52)
34: location #2 /proc/12074/root/usr/lib64/libc-2.27.so 0x85e6f
34: argument #1 8 unsigned bytes @ bx
34: argument #2 8 unsigned bytes @ *(&mp_ + 16)
34: argument #3 4 signed bytes @ *(&mp_ + 52)
34: libc:memory_mallopt_mmap_max [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/libc-2.27.so 0x7fc73
34: argument #1 4 signed bytes @ ax
34: argument #2 4 signed bytes @ *(&mp_ + 44)
34: argument #3 4 signed bytes @ *(&mp_ + 52)
34: location #2 /proc/12074/root/usr/lib64/libc-2.27.so 0x85e40
34: argument #1 4 signed bytes @ bx
34: argument #2 4 signed bytes @ *(&mp_ + 44)
34: argument #3 4 signed bytes @ *(&mp_ + 52)
34: libc:memory_mallopt_perturb [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/libc-2.27.so 0x7fc93
34: argument #1 4 signed bytes @ ax
34: argument #2 4 signed bytes @ *(&perturb_byte + 0)
34: location #2 /proc/12074/root/usr/lib64/libc-2.27.so 0x85df0
34: argument #1 4 signed bytes @ bx
34: argument #2 4 signed bytes @ *(&perturb_byte + 0)
34: libc:memory_arena_reuse_free_list [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/libc-2.27.so 0x7fe27
34: argument #1 8 unsigned bytes @ bx
34: libc:memory_heap_new [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/libc-2.27.so 0x802b9
34: argument #1 8 unsigned bytes @ bx
34: argument #2 8 unsigned bytes @ bp
34: libc:memory_arena_reuse [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/libc-2.27.so 0x808a1
34: argument #1 8 unsigned bytes @ bx
34: argument #2 8 unsigned bytes @ bp
34: libc:memory_arena_reuse_wait [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/libc-2.27.so 0x8091d
34: argument #1 8 unsigned bytes @ dx
34: argument #2 8 unsigned bytes @ dx
34: argument #3 8 unsigned bytes @ bp
34: libc:memory_arena_new [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/libc-2.27.so 0x80a84
34: argument #1 8 unsigned bytes @ bx
34: argument #2 8 unsigned bytes @ r12
34: libc:memory_arena_retry [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/libc-2.27.so 0x80c29
34: argument #1 8 unsigned bytes @ si
34: argument #2 8 unsigned bytes @ di
34: libc:memory_sbrk_less [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/libc-2.27.so 0x8128f
34: argument #1 8 unsigned bytes @ ax
34: argument #2 8 signed bytes @ bp
34: libc:memory_heap_free [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/libc-2.27.so 0x81ab9
34: argument #1 8 unsigned bytes @ bx
34: argument #2 8 unsigned bytes @ ax
34: libc:memory_heap_less [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/libc-2.27.so 0x81d41
34: argument #1 8 unsigned bytes @ bx
34: argument #2 8 unsigned bytes @ r15
34: libc:memory_heap_more [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/libc-2.27.so 0x81f96
34: argument #1 8 unsigned bytes @ r9
34: argument #2 8 unsigned bytes @ r8
34: libc:memory_sbrk_more [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/libc-2.27.so 0x8230a
34: argument #1 8 unsigned bytes @ ax
34: argument #2 8 signed bytes @ r12
34: libc:memory_malloc_retry [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/libc-2.27.so 0x84890
34: argument #1 8 unsigned bytes @ bp
34: libc:memory_memalign_retry [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/libc-2.27.so 0x84b85
34: argument #1 8 unsigned bytes @ bp
34: argument #2 8 unsigned bytes @ bx
34: libc:memory_mallopt_free_dyn_thresholds [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/libc-2.27.so 0x84cd8
34: argument #1 8 unsigned bytes @ ax
34: argument #2 8 unsigned bytes @ dx
34: libc:memory_realloc_retry [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/libc-2.27.so 0x850e5
34: argument #1 8 unsigned bytes @ bp
34: argument #2 8 unsigned bytes @ bx
34: libc:memory_calloc_retry [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/libc-2.27.so 0x85548
34: argument #1 8 unsigned bytes @ bp
34: libc:memory_mallopt [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/libc-2.27.so 0x85d24
34: argument #1 4 signed bytes @ bp
34: argument #2 4 signed bytes @ bx
34: libc:memory_mallopt_mxfast [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/libc-2.27.so 0x85e16
34: argument #1 4 signed bytes @ bx
34: argument #2 8 unsigned bytes @ *(&global_max_fast + 0)
34: libc:lll_lock_wait_private [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/libc-2.27.so 0x107504
34: argument #1 8 unsigned bytes @ di
34: rtld:init_start [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/ld-2.27.so 0x388f
34: argument #1 4 signed bytes @ 0
34: argument #2 8 unsigned bytes @ bx
34: rtld:init_complete [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/ld-2.27.so 0x3fe7
34: argument #1 4 signed bytes @ 0
34: argument #2 8 unsigned bytes @ bx
34: rtld:map_failed [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/ld-2.27.so 0x5bd6
34: argument #1 8 signed bytes @ *(sp + 72)
34: argument #2 8 unsigned bytes @ bp
34: rtld:map_start [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/ld-2.27.so 0x6002
34: argument #1 8 signed bytes @ *(bp + 40)
34: argument #2 8 unsigned bytes @ bx
34: rtld:map_complete [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/ld-2.27.so 0x1354c
34: argument #1 8 signed bytes @ *(r15 + 40)
34: argument #2 8 unsigned bytes @ r14
34: argument #3 8 unsigned bytes @ bx
34: rtld:reloc_start [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/ld-2.27.so 0x13644
34: argument #1 8 signed bytes @ *(r15 + 40)
34: argument #2 8 unsigned bytes @ *(bp - 64)
34: rtld:reloc_complete [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/ld-2.27.so 0x139a8
34: argument #1 8 signed bytes @ *(r15 + 40)
34: argument #2 8 unsigned bytes @ *(bp - 64)
34: argument #3 8 unsigned bytes @ bx
34: rtld:unmap_start [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/ld-2.27.so 0x144d7
34: argument #1 8 signed bytes @ r13
34: argument #2 8 unsigned bytes @ r14
34: rtld:unmap_complete [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/ld-2.27.so 0x14721
34: argument #1 8 signed bytes @ *(bp - 128)
34: argument #2 8 unsigned bytes @ bx
34: rtld:setjmp [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/ld-2.27.so 0x1ad9d
34: argument #1 8 unsigned bytes @ di
34: argument #2 4 signed bytes @ si
34: argument #3 8 unsigned bytes @ ax
34: rtld:longjmp [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/ld-2.27.so 0x1addd
34: argument #1 8 unsigned bytes @ di
34: argument #2 4 signed bytes @ si
34: argument #3 8 unsigned bytes @ dx
34: rtld:longjmp_target [sema 0x0]
34: location #1 /proc/12074/root/usr/lib64/ld-2.27.so 0x1adf9
34: argument #1 8 unsigned bytes @ di
34: argument #2 4 signed bytes @ ax
34: argument #3 8 unsigned bytes @ dx
34: In file included from <built-in>:3:
34: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
34: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
34: ^
34: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
34: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
34: ^
34: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
34: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
34: ^
34: 3 warnings generated.
34: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: '\nBPF_PERF_OUTPUT(event);\nint do_trace(struct pt_regs *ctx) {\n int result = 0;\n bpf_usdt_readarg(1, ctx, &result);\n event.perf_submit(ctx, &result, sizeof(result));\n return 0;\n};\n'
34: text = _assert_is_bytes(text)
34: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1080: DeprecationWarning: not a bytes object: '/proc/12074/root/tmp/tmpupgnzbrz/liba.so'
34: name = _assert_is_bytes(name)
34: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1083: DeprecationWarning: not a bytes object: 'do_trace'
34: fn_name = _assert_is_bytes(fn_name)
34: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1080: DeprecationWarning: not a bytes object: '/proc/12074/root/tmp/tmpupgnzbrz/libb.so'
34: name = _assert_is_bytes(name)
34: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:1080: DeprecationWarning: not a bytes object: '/proc/12074/root/tmp/tmpupgnzbrz/a.out'
34: name = _assert_is_bytes(name)
34: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'event'
34: name = _assert_is_bytes(name)
34: .
34: ----------------------------------------------------------------------
34: Ran 1 test in 1.177s
34:
34: OK
34: temp directory: /tmp/tmpupgnzbrz
34/42 Test #34: py_test_usdt3 .................... Passed 1.42 sec
test 35
Start 35: py_test_license
35: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_license" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_license.py"
35: Test timeout computed to be: 10000000
35: In file included from <built-in>:3:
35: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
35: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
35: ^
35: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
35: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
35: ^
35: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
35: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
35: ^
35: 3 warnings generated.
35: /virtual/main.c:2:2: error: BPF_LICENSE cannot be specified through cflags
35: #error BPF_LICENSE cannot be specified through cflags
35: ^
35: 1 error generated.
35: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\nstruct gpl_s {\n u64 ts;\n};\nBPF_PERF_OUTPUT(events);\nint license_program(struct pt_regs *ctx) {\n struct gpl_s data = {};\n data.ts = bpf_ktime_get_ns();\n events.perf_submit(ctx, &data, sizeof(data));\n return 0;\n}\n'
35: text = _assert_is_bytes(text)
35: xIn file included from <built-in>:3:
35: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
35: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
35: ^
35: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
35: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
35: ^
35: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
35: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
35: ^
35: 3 warnings generated.
35: /virtual/main.c:2:2: error: BPF_LICENSE cannot be specified through cflags
35: #error BPF_LICENSE cannot be specified through cflags
35: ^
35: 1 error generated.
35: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\nstruct gpl_s {\n u64 ts;\n};\nBPF_PERF_OUTPUT(events);\nint license_program(struct pt_regs *ctx) {\n struct gpl_s data = {};\n data.ts = bpf_ktime_get_ns();\n events.perf_submit(ctx, &data, sizeof(data));\n return 0;\n}\n\n#define BPF_LICENSE GPL\n'
35: text = _assert_is_bytes(text)
35: xIn file included from <built-in>:3:
35: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
35: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
35: ^
35: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
35: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
35: ^
35: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
35: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
35: ^
35: 3 warnings generated.
35: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:633: DeprecationWarning: not a bytes object: 'read'
35: name = _assert_is_bytes(name)
35: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:648: DeprecationWarning: not a bytes object: 'license_program'
35: fn_name = _assert_is_bytes(fn_name)
35: .In file included from <built-in>:3:
35: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
35: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
35: ^
35: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
35: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
35: ^
35: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
35: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
35: ^
35: 3 warnings generated.
35: bpf: Failed to load program: Invalid argument
35: 0: (bf) r6 = r1
35: 1: (85) call bpf_ktime_get_ns#5
35: cannot call GPL only function from proprietary program
35:
35: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\nstruct gpl_s {\n u64 ts;\n};\nBPF_PERF_OUTPUT(events);\nint license_program(struct pt_regs *ctx) {\n struct gpl_s data = {};\n data.ts = bpf_ktime_get_ns();\n events.perf_submit(ctx, &data, sizeof(data));\n return 0;\n}\n\n#define BPF_LICENSE \n'
35: text = _assert_is_bytes(text)
35: xIn file included from <built-in>:3:
35: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
35: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
35: ^
35: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
35: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
35: ^
35: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
35: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
35: ^
35: 3 warnings generated.
35: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\nstruct gpl_s {\n u64 ts;\n};\nBPF_PERF_OUTPUT(events);\nint license_program(struct pt_regs *ctx) {\n struct gpl_s data = {};\n data.ts = bpf_ktime_get_ns();\n events.perf_submit(ctx, &data, sizeof(data));\n return 0;\n}\n\n#define BPF_LICENSE Dual BSD/GPL\n'
35: text = _assert_is_bytes(text)
35: .In file included from <built-in>:3:
35: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
35: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
35: ^
35: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
35: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
35: ^
35: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
35: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
35: ^
35: 3 warnings generated.
35: .In file included from <built-in>:3:
35: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
35: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
35: ^
35: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
35: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
35: ^
35: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
35: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
35: ^
35: 3 warnings generated.
35: /virtual/main.c:2:2: error: BPF_LICENSE cannot be specified through cflags
35: #error BPF_LICENSE cannot be specified through cflags
35: ^
35: 1 error generated.
35: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\nstruct key_t {\n u64 ip;\n u32 pid;\n u32 uid;\n char comm[16];\n};\n\nBPF_HASH(counts, struct key_t);\n\nint license_program(struct pt_regs *ctx) {\n struct key_t key = {};\n u64 zero = 0 , *val;\n u64 pid = bpf_get_current_pid_tgid();\n u32 uid = bpf_get_current_uid_gid();\n\n key.ip = PT_REGS_IP(ctx);\n key.pid = pid & 0xFFFFFFFF;\n key.uid = uid & 0xFFFFFFFF;\n bpf_get_current_comm(&(key.comm), 16);\n\n val = counts.lookup_or_try_init(&key, &zero); // update counter\n if (val) {\n (*val)++;\n }\n return 0;\n}\n'
35: text = _assert_is_bytes(text)
35: xIn file included from <built-in>:3:
35: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
35: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
35: ^
35: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
35: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
35: ^
35: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
35: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
35: ^
35: 3 warnings generated.
35: bpf: Failed to load program: Invalid argument
35: 0: (bf) r6 = r1
35: 1: (85) call bpf_ktime_get_ns#5
35: cannot call GPL only function from proprietary program
35:
35: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\nstruct gpl_s {\n u64 ts;\n};\nBPF_PERF_OUTPUT(events);\nint license_program(struct pt_regs *ctx) {\n struct gpl_s data = {};\n data.ts = bpf_ktime_get_ns();\n events.perf_submit(ctx, &data, sizeof(data));\n return 0;\n}\n\n#define BPF_LICENSE Proprietary license\n'
35: text = _assert_is_bytes(text)
35: xIn file included from <built-in>:3:
35: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
35: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
35: ^
35: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
35: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
35: ^
35: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
35: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
35: ^
35: 3 warnings generated.
35: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\nstruct key_t {\n u64 ip;\n u32 pid;\n u32 uid;\n char comm[16];\n};\n\nBPF_HASH(counts, struct key_t);\n\nint license_program(struct pt_regs *ctx) {\n struct key_t key = {};\n u64 zero = 0 , *val;\n u64 pid = bpf_get_current_pid_tgid();\n u32 uid = bpf_get_current_uid_gid();\n\n key.ip = PT_REGS_IP(ctx);\n key.pid = pid & 0xFFFFFFFF;\n key.uid = uid & 0xFFFFFFFF;\n bpf_get_current_comm(&(key.comm), 16);\n\n val = counts.lookup_or_try_init(&key, &zero); // update counter\n if (val) {\n (*val)++;\n }\n return 0;\n}\n\n#define BPF_LICENSE Proprietary\n'
35: text = _assert_is_bytes(text)
35: .In file included from <built-in>:3:
35: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
35: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
35: ^
35: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
35: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
35: ^
35: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
35: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
35: ^
35: 3 warnings generated.
35: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: '\n#include <uapi/linux/ptrace.h>\nstruct key_t {\n u64 ip;\n u32 pid;\n u32 uid;\n char comm[16];\n};\n\nBPF_HASH(counts, struct key_t);\n\nint license_program(struct pt_regs *ctx) {\n struct key_t key = {};\n u64 zero = 0 , *val;\n u64 pid = bpf_get_current_pid_tgid();\n u32 uid = bpf_get_current_uid_gid();\n\n key.ip = PT_REGS_IP(ctx);\n key.pid = pid & 0xFFFFFFFF;\n key.uid = uid & 0xFFFFFFFF;\n bpf_get_current_comm(&(key.comm), 16);\n\n val = counts.lookup_or_try_init(&key, &zero); // update counter\n if (val) {\n (*val)++;\n }\n return 0;\n}\n\n#define BPF_LICENSE Proprietary license\n'
35: text = _assert_is_bytes(text)
35: .
35: ----------------------------------------------------------------------
35: Ran 10 tests in 2.439s
35:
35: OK (expected failures=5)
35/42 Test #35: py_test_license .................. Passed 2.62 sec
test 36
Start 36: py_test_free_bcc_memory
36: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_free_bcc_memory" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_free_bcc_memory.py"
36: Test timeout computed to be: 10000000
36: In file included from <built-in>:3:
36: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
36: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
36: ^
36: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
36: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
36: ^
36: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
36: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
36: ^
36: 3 warnings generated.
36: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: 'int test() { return 0; }'
36: text = _assert_is_bytes(text)
36: /usr/lib64/python3.6/subprocess.py:766: ResourceWarning: subprocess 12085 is still running
36: ResourceWarning, source=self)
36: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_free_bcc_memory.py:46: ResourceWarning: unclosed file <_io.BufferedReader name=3>
36: [rss1, unit1] = self.getRssFile()
36: /usr/lib64/python3.6/subprocess.py:766: ResourceWarning: subprocess 12086 is still running
36: ResourceWarning, source=self)
36: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_free_bcc_memory.py:53: ResourceWarning: unclosed file <_io.BufferedReader name=3>
36: [rss2, unit2] = self.getRssFile()
36: .
36: ----------------------------------------------------------------------
36: Ran 1 test in 0.250s
36:
36: OK
36: Before freeing llvm memory: RssFile: b'56308' b'kB'
36: After freeing llvm memory: RssFile: b'55208' b'kB'
36/42 Test #36: py_test_free_bcc_memory .......... Passed 0.42 sec
test 37
Start 37: py_test_rlimit
37: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_rlimit" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_rlimit.py"
37: Test timeout computed to be: 10000000
37: In file included from <built-in>:3:
37: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
37: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
37: ^
37: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
37: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
37: ^
37: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
37: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
37: ^
37: 3 warnings generated.
37: could not open bpf map: unused, error: Operation not permitted
37: In file included from <built-in>:3:
37: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
37: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
37: ^
37: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
37: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
37: ^
37: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
37: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
37: ^
37: 3 warnings generated.
37: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: '\nBPF_HASH(unused, u64, u64, 65536);\nint test() { return 0; }\n'
37: text = _assert_is_bytes(text)
37: .
37: ----------------------------------------------------------------------
37: Ran 1 test in 0.279s
37:
37: OK
37/42 Test #37: py_test_rlimit ................... Passed 0.47 sec
test 38
Start 38: py_test_lpm_trie
38: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "py_test_lpm_trie" "sudo" "/home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/python/test_lpm_trie.py"
38: Test timeout computed to be: 10000000
38: In file included from <built-in>:3:
38: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
38: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
38: ^
38: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
38: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
38: ^
38: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
38: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
38: ^
38: 3 warnings generated.
38: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: '\n struct key_v4 {\n u32 prefixlen;\n u32 data[4];\n };\n BPF_LPM_TRIE(trie, struct key_v4, int, 16);\n '
38: text = _assert_is_bytes(text)
38: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:496: DeprecationWarning: not a bytes object: 'trie'
38: name = _assert_is_bytes(name)
38: .In file included from <built-in>:3:
38: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
38: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
38: ^
38: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
38: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
38: ^
38: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
38: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
38: ^
38: 3 warnings generated.
38: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/src/python/bcc-python/bcc/__init__.py:303: DeprecationWarning: not a bytes object: '\n struct key_v6 {\n u32 prefixlen;\n u32 data[4];\n };\n BPF_LPM_TRIE(trie, struct key_v6, int, 16);\n '
38: text = _assert_is_bytes(text)
38: .
38: ----------------------------------------------------------------------
38: Ran 2 tests in 0.286s
38:
38: OK
38/42 Test #38: py_test_lpm_trie ................. Passed 0.47 sec
test 39
Start 39: lua_test_clang
39: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "lua_test_clang" "sudo" "/usr/bin/luajit" "test_clang.lua"
39: Test timeout computed to be: 10000000
39: In file included from <built-in>:3:
39: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
39: ^
39: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
39: ^
39: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
39: ^
39: 3 warnings generated.
39: In file included from <built-in>:3:
39: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
39: ^
39: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
39: ^
39: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
39: ^
39: 3 warnings generated.
39: In file included from <built-in>:3:
39: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
39: ^
39: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
39: ^
39: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
39: ^
39: 3 warnings generated.
39: In file included from <built-in>:3:
39: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
39: ^
39: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
39: ^
39: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
39: ^
39: 3 warnings generated.
39: In file included from <built-in>:3:
39: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
39: ^
39: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
39: ^
39: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
39: ^
39: 3 warnings generated.
39: In file included from <built-in>:3:
39: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
39: ^
39: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
39: ^
39: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
39: ^
39: 3 warnings generated.
39: In file included from <built-in>:3:
39: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
39: ^
39: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
39: ^
39: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
39: ^
39: 3 warnings generated.
39: In file included from <built-in>:3:
39: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
39: ^
39: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
39: ^
39: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
39: ^
39: 3 warnings generated.
39: In file included from <built-in>:3:
39: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
39: ^
39: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
39: ^
39: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
39: ^
39: 3 warnings generated.
39: In file included from <built-in>:3:
39: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
39: ^
39: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
39: ^
39: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
39: ^
39: 3 warnings generated.
39: In file included from <built-in>:3:
39: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
39: ^
39: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
39: ^
39: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
39: ^
39: 3 warnings generated.
39: In file included from <built-in>:3:
39: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
39: ^
39: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
39: ^
39: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
39: ^
39: 3 warnings generated.
39: In file included from <built-in>:3:
39: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
39: ^
39: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
39: ^
39: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
39: ^
39: 3 warnings generated.
39: In file included from <built-in>:3:
39: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
39: ^
39: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
39: ^
39: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
39: ^
39: 3 warnings generated.
39: In file included from <built-in>:3:
39: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
39: ^
39: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
39: ^
39: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
39: ^
39: 3 warnings generated.
39: In file included from <built-in>:3:
39: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
39: ^
39: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
39: ^
39: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
39: ^
39: 3 warnings generated.
39: In file included from <built-in>:3:
39: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
39: ^
39: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
39: ^
39: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
39: ^
39: 3 warnings generated.
39: In file included from <built-in>:3:
39: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
39: ^
39: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
39: ^
39: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
39: ^
39: 3 warnings generated.
39: In file included from <built-in>:3:
39: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
39: ^
39: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
39: ^
39: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
39: ^
39: /virtual/main.c:1:30: error: expected expression
39: int failure(void *ctx) { if (); return 0; }
39: ^
39: 3 warnings and 1 error generated.
39: In file included from <built-in>:3:
39: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
39: ^
39: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
39: ^
39: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
39: ^
39: 3 warnings generated.
39: In file included from <built-in>:3:
39: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
39: ^
39: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
39: ^
39: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
39: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
39: ^
39: 3 warnings generated.
39: ....................
39: Ran 20 tests in 14.752 seconds, 20 successes, 0 failures
39: OK
39/42 Test #39: lua_test_clang ................... Passed 15.04 sec
test 40
Start 40: lua_test_uprobes
40: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "lua_test_uprobes" "sudo" "/usr/bin/luajit" "test_uprobes.lua"
40: Test timeout computed to be: 10000000
40: In file included from <built-in>:3:
40: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
40: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
40: ^
40: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
40: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
40: ^
40: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
40: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
40: ^
40: 3 warnings generated.
40: Python 2.7.15
40: In file included from <built-in>:3:
40: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
40: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
40: ^
40: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
40: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
40: ^
40: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
40: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
40: ^
40: 3 warnings generated.
40: Arena 0:
40: system bytes = 18358272
40: in use bytes = 1177280
40: Total (incl. mmap):
40: system bytes = 18358272
40: in use bytes = 1177280
40: max mmap regions = 7
40: max mmap bytes = 2134016
40: ..
40: Ran 2 tests in 0.376 seconds, 2 successes, 0 failures
40: OK
40/42 Test #40: lua_test_uprobes ................. Passed 0.50 sec
test 41
Start 41: lua_test_dump
41: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/build/tests/wrapper.sh "lua_test_dump" "sudo" "/usr/bin/luajit" "test_dump.lua"
41: Test timeout computed to be: 10000000
41: In file included from <built-in>:3:
41: /virtual/include/bcc/helpers.h:622:46: warning: declaration of 'struct bpf_perf_event_data' will not be visible outside of this function [-Wvisibility]
41: static int (*bpf_read_branch_records)(struct bpf_perf_event_data *ctx, void *buf,
41: ^
41: /virtual/include/bcc/helpers.h:629:48: warning: declaration of 'struct bpf_map' will not be visible outside of this function [-Wvisibility]
41: static int (*bpf_xdp_output)(void *ctx, struct bpf_map *map, __u64 flags,
41: ^
41: /virtual/include/bcc/helpers.h:635:36: warning: declaration of 'struct sk_buff' will not be visible outside of this function [-Wvisibility]
41: static int (*bpf_sk_assign)(struct sk_buff *skb, struct bpf_sock *sk, __u64 flags) =
41: ^
41: 3 warnings generated.
41: .
41: Ran 1 tests in 0.144 seconds, 1 successes, 0 failures
41: OK
41/42 Test #41: lua_test_dump .................... Passed 0.22 sec
test 42
Start 42: lua_test_standalone
42: Test command: /home/fedora/jenkins/workspace/bcc-pr/label/fc28/tests/lua/test_standalone.sh
42: Test timeout computed to be: 10000000
42: + cd src/lua
42: + [[ ! -x bcc-lua ]]
42: + echo 'bcc-lua not built --- skipping'
42: bcc-lua not built --- skipping
42: + exit 0
42/42 Test #42: lua_test_standalone .............. Passed 0.00 sec
100% tests passed, 0 tests failed out of 42
Total Test time (real) = 511.47 sec
++ head -n 1 Testing/TAG
+ cp Testing/20200421-0013/Test.xml ./CTestResults.xml
Taking single-use slave fedora28-slave-e72 offline.
Finished: SUCCESS