iovisor / iovisor/bcc

Can't use argdist to trace args which type is double

Open
#3,875 18 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
22.7k
Forks
4.1k
Avg merge
10d 4h
Merged PRs (30d)
3

Description

[root@fedora tools]# ./argdist -C 'p:c:sqrt(double x):double:x'
error: /virtual/main.c:24:13: in function sqrt_probe0 i32 (%struct.pt_regs*): A call to built-in function '__floatundidf' is not supported.

Does this tool support float or double parameter trace?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the argdist entry point and reproduce the shown sqrt(double x) command from the tools directory. Inspect the generated /virtual/main.c around the sqrt_probe0 error and trace how double arguments are handled. Done means the command can trace a double parameter without the unsupported __floatundidf error.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
observability, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.