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

biolatpcts: Build fixes on recent kernels #3827

Merged
merged 1 commit into from
Jan 27, 2022

Conversation

htejun
Copy link
Contributor

@htejun htejun commented Jan 27, 2022

  • struct request definition recently moved from blkdev.h to blk-mq.h
    breaking both tools/biolatpcts and examples/tracing/biolatpcts. Fix them
    by also including blk-mq.h.

  • blk_account_io_done() got split into two parts - inline condition checks
    and the actual accounting with the latter now done in
    __blk_account_io_done(). The kprobe attachment needs to be conditionalized
    to work across the change. tools/biolatpcts was already updated but
    examples/tracing/biolatpcts wasn't. Fix it.

Signed-off-by: Tejun Heo tj@kernel.org

* `struct request` definition recently moved from blkdev.h to blk-mq.h
  breaking both tools/biolatpcts and examples/tracing/biolatpcts. Fix them
  by also including blk-mq.h.

* blk_account_io_done() got split into two parts - inline condition checks
  and the actual accounting with the latter now done in
  __blk_account_io_done(). The kprobe attachment needs to be conditionalized
  to work across the change. tools/biolatpcts was already updated but
  examples/tracing/biolatpcts wasn't. Fix it.

Signed-off-by: Tejun Heo <tj@kernel.org>
@davemarchevsky davemarchevsky merged commit d89bb79 into iovisor:master Jan 27, 2022
@chenhengqi
Copy link
Collaborator

@davemarchevsky Please also take a look at #3744 .

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