mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-06-28 17:19:44 +00:00
Set len
and cap
in golang_net_http_gzipreader_read_uprobe
as well
This commit is contained in:
parent
f80556d21c
commit
9f6188a4cb
@ -162,6 +162,8 @@ static __always_inline int golang_net_http_gzipreader_read_uprobe(struct pt_regs
|
|||||||
b->conn_addr = s->conn_addr;
|
b->conn_addr = s->conn_addr;
|
||||||
b->is_request = false;
|
b->is_request = false;
|
||||||
b->is_gzip_chunk = true;
|
b->is_gzip_chunk = true;
|
||||||
|
b->len = ctx->rax;
|
||||||
|
b->cap = ctx->rax; // no cap info
|
||||||
|
|
||||||
__u64 data_p;
|
__u64 data_p;
|
||||||
// Address at ctx->rsp + 0x8 holds the data
|
// Address at ctx->rsp + 0x8 holds the data
|
||||||
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user