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

Add DISK field to biosnoop #1660

Merged
merged 4 commits into from
Jan 8, 2021
Merged

Add DISK field to biosnoop #1660

merged 4 commits into from
Jan 8, 2021

Conversation

DavidVentura
Copy link
Contributor

@DavidVentura DavidVentura commented Dec 10, 2020

Add disk field to biosnoop.

I tried to also add req->part->part_no but I felt I was not getting what I expected on it when writing to certain partitions.

Checklist
  • Language changes are updated in docs/reference_guide.md
  • User-visible and non-trivial changes updated in CHANGELOG.md
  • The new behaviour is covered by tests

@brendangregg
Copy link
Contributor

Thanks for testing on different platforms. I think the field should be 7-chars wide to match the BCC version, plus as this grows to approach the BCC version (if it does) we should keep the default output <80 chars.

Copy link
Member

@danobi danobi left a comment

Choose a reason for hiding this comment

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

Thanks!

@danobi danobi merged commit 583dfec into bpftrace:master Jan 8, 2021
casparant added a commit to casparant/bpftrace that referenced this pull request Jan 8, 2021
* 'master' of github.com:iovisor/bpftrace:
  Fixup changelog
  Add DISK field to biosnoop (bpftrace#1660)
  tests/childproc: resume SIGHUP to SIG_DFL before test
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