commit | 37739d1b4fe744da9c2f342224000ae7fbb5c063 | [log] [tgz] |
---|---|---|
author | Michal Rostecki <[email protected]> | Thu May 23 14:53:54 2019 +0200 |
committer | Alexei Starovoitov <[email protected]> | Fri May 24 13:47:17 2019 -0700 |
tree | a0caaaf379e92c3d5c0631e12d8284a27cd43402 | |
parent | 5762a20b11ef261ae8436868555fab4340cb3ca0 [diff] |
selftests: bpf: Move bpf_printk to bpf_helpers.h bpf_printk is a macro which is commonly used to print out debug messages in BPF programs and it was copied in many selftests and samples. Since all of them include bpf_helpers.h, this change moves the macro there. Signed-off-by: Michal Rostecki <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]>