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

feat: New parser for /usr/bin/od -An -t d /dev/cpu_dma_latency #3353

Merged
merged 2 commits into from
Mar 17, 2022
Merged

feat: New parser for /usr/bin/od -An -t d /dev/cpu_dma_latency #3353

merged 2 commits into from
Mar 17, 2022

Conversation

crackcodecamp
Copy link
Contributor

@crackcodecamp crackcodecamp commented Mar 9, 2022

Signed-off-by: Akshay Ghodake [email protected]

All Pull Requests:

Check all that apply:

  • Have you followed the guidelines in our Contributing document, including the instructions about commit messages?
  • Is this PR to correct an issue?
  • Is this PR an enhancement?

Complete Description of Additions/Changes:

Add your description here

@crackcodecamp
Copy link
Contributor Author

@xiangce Please help to review the PR.

Copy link
Contributor

@xiangce xiangce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@crackcodecamp

  1. This requires going through the new spec approval process at first.
  2. HexDump is not a good spec/parser name to me. The command hexdump could run against many different target files, better rename the spec and create a new parser based on the base on HexDump.
  3. And since hexdump is a utility command and can be run against different files, you might need to do some updates to the base HexDump to handle multiple lines output.

insights/parsers/hexdump.py Outdated Show resolved Hide resolved
@xiangce xiangce changed the title New parser for /usr/bin/hexdump -C /dev/cpu_dma_latency command feat: New parser for /usr/bin/hexdump -C /dev/cpu_dma_latency command Mar 10, 2022
@crackcodecamp crackcodecamp changed the title feat: New parser for /usr/bin/hexdump -C /dev/cpu_dma_latency command feat: New parser for /usr/bin/od -An -t d /dev/cpu_dma_latency Mar 16, 2022
@crackcodecamp
Copy link
Contributor Author

@xiangce The PR updated as per new spec. Please review.

Copy link
Contributor

@psachin psachin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to me.

@psachin psachin merged commit 0ea930b into RedHatInsights:master Mar 17, 2022
psachin pushed a commit that referenced this pull request Mar 17, 2022
* New parser for /usr/bin/hexdump -C /dev/cpu_dma_latency command

Signed-off-by: Akshay Ghodake <[email protected]>

* Updated command from hexdump to od

Signed-off-by: Akshay Ghodake <[email protected]>
(cherry picked from commit 0ea930b)
xiangce pushed a commit that referenced this pull request Sep 6, 2024
* New parser for /usr/bin/hexdump -C /dev/cpu_dma_latency command

Signed-off-by: Akshay Ghodake <[email protected]>

* Updated command from hexdump to od

Signed-off-by: Akshay Ghodake <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants