Hexadecimal format is printed as decimal
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 50/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- observability, tooling
Research direction
Start by comparing the %x usage in src/core/send.c at lines 410-415 with the generated formatting in src/generated/linux/send.c.clog.h.lttng.h at the linked lines. Reproduce the logging case and trace how the format is transformed; done means the 0x16 and existing 0x0 values are emitted in hexadecimal rather than decimal.
Written by the indexing model from the issue text.
Description
It seems to me that despite specifying %x format, the resulting logs contain decimal value. This is especially confusing as the string contains 0x prefix:
[3][840b.8435][01:17:56.211381][strm][0x7ee0ec008c50] Setting flags 0x16 (existing flags: 0x0)
Potentially related: https://github.com/microsoft/CLOG/issues/69
- Dominant language
- C#
- Stars
- 36
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/CLOG
-
sidecar
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
bug help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
-
bug help wanted
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
bug help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 38/100
-
decode enhancement help wanted
Difficulty 5/5 Over a week Newbie friendliness 25/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
521xueweihan/HelloGitHub#3845 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
lay295/TwitchDownloader#1675 ·
-
copilot documentation
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
space-wizards/RobustToolbox#7119 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
dotnet/Scaffolding#3881 ·
Maintainers usually reply within 2 days