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