-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
printf() only supports 7 arguments #1336
Comments
One way I thought of to support arbitrary number of arguments is to:
The reason we can't do it all in one shot is b/c |
Can we use |
I looked into this but there's no way to safely construct a |
This enables printf, cat and system to have more than 7 arguments. It can be more user-friendly to allow any reasonable number of arguments for these builtin calls which use formatted strings. Resolves bpftrace#1336.
This enables printf, cat and system to have more than 7 arguments. It can be more user-friendly to allow any reasonable number of arguments for these builtin calls which use formatted strings. Resolves #1336.
Is your feature request related to a problem? Please describe.
It would be useful to have support for more arguments. I don't think there's a technical limit.
Describe the solution you'd like
More args
Describe alternative solutions or features you've considered
n/a
The text was updated successfully, but these errors were encountered: