Commit 6e5c621a authored by Sasha Goldshtein's avatar Sasha Goldshtein

ucalls: TODO reminder to probe C methods

parent 4cebb42e
...@@ -65,6 +65,7 @@ elif args.language == "python": ...@@ -65,6 +65,7 @@ elif args.language == "python":
read_class = "bpf_usdt_readarg(1, ctx, &clazz);" # filename really read_class = "bpf_usdt_readarg(1, ctx, &clazz);" # filename really
read_method = "bpf_usdt_readarg(2, ctx, &method);" read_method = "bpf_usdt_readarg(2, ctx, &method);"
elif args.language == "ruby": elif args.language == "ruby":
# TODO Also probe cmethod__entry and cmethod__return with same arguments
entry_probe = "method__entry" entry_probe = "method__entry"
return_probe = "method__return" return_probe = "method__return"
read_class = "bpf_usdt_readarg(1, ctx, &clazz);" read_class = "bpf_usdt_readarg(1, ctx, &clazz);"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment