All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] bpf: s390: add JIT support for bpf line info
@ 2019-08-29 16:13 Yauheni Kaliuta
  2019-08-29 16:16 ` Yauheni Kaliuta
  0 siblings, 1 reply; 7+ messages in thread
From: Yauheni Kaliuta @ 2019-08-29 16:13 UTC (permalink / raw)
  To: bpf; +Cc: daniel, iii, jolsa

This adds support for generating bpf line info for JITed programs
like commit 6f20c71d8505 ("bpf: powerpc64: add JIT support for bpf
line info") does for powerpc.

Signed-off-by: Yauheni Kaliuta <yauheni.kaliuta@redhat.com>
---

The patch is on top of "bpf: s390: add JIT support for multi-function
programs"

---
 arch/s390/net/bpf_jit_comp.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/s390/net/bpf_jit_comp.c b/arch/s390/net/bpf_jit_comp.c
index b6801d854c77..4ef783b67dfc 100644
--- a/arch/s390/net/bpf_jit_comp.c
+++ b/arch/s390/net/bpf_jit_comp.c
@@ -1420,6 +1420,7 @@ struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *fp)
 	fp->jited_len = jit.size;
 
 	if (!fp->is_func || extra_pass) {
+		bpf_prog_fill_jited_linfo(fp, jit.addrs);
 free_addrs:
 		kfree(jit.addrs);
 		kfree(jit_data);
-- 
2.22.0


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-09-03 13:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-29 16:13 [PATCH] bpf: s390: add JIT support for bpf line info Yauheni Kaliuta
2019-08-29 16:16 ` Yauheni Kaliuta
2019-08-29 20:02   ` [PATCH v2] " Yauheni Kaliuta
2019-08-30 11:39     ` Ilya Leoshkevich
2019-08-30 11:47       ` Yauheni Kaliuta
2019-08-30 11:51     ` [PATCH v3] " Yauheni Kaliuta
2019-09-03 13:40       ` Daniel Borkmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.