Skip to content
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

The profile output for awk is hard to parse #524

Open
Tracked by #522
lars-t-hansen opened this issue Jun 21, 2024 · 0 comments
Open
Tracked by #522

The profile output for awk is hard to parse #524

lars-t-hansen opened this issue Jun 21, 2024 · 0 comments
Labels
task:bug Something isn't working

Comments

@lars-t-hansen
Copy link
Collaborator

The output of profile is a timeline along the y axis with a field per process in the job along the x axis. If a process is not active at a given time then nothing is printed (empty field). For csv we thus get yyyy-mm-hh hh:mm,,,x,y,,, and so on. But for awk, where the fields are space-separated, we get a bunch of spaces. As a special case, awk interprets a field separator of a single space as "any string of whitespace" (https://www.gnu.org/software/gawk/manual/gawk.html#Whitespace-Normally-Separates-Fields). Therefore, for awk output in the profile we should probably print something, eg, '.' would be fine.

@lars-t-hansen lars-t-hansen added the task:bug Something isn't working label Jun 21, 2024
@lars-t-hansen lars-t-hansen changed the title The profile for awk is not useful The profile output for awk is hard to parse Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant