Code Monkey home page Code Monkey logo

Comments (7)

morbidrsa avatar morbidrsa commented on June 2, 2024

Thanks for the report.

It looks like the output filter work correctly.
It has actually several problems:

  • it doesn't normalize the white space between the PID and the CPU#
  • It doesn't account for eventual preempts (might be interesting to investigate why you have it set here)
  • It doesn't account for slba's != 0

from blktests.

morbidrsa avatar morbidrsa commented on June 2, 2024

I think the filter should be:

sed -r -e  's/dd-[0-9]+/dd-XXX/' \
    -e 's/X\s+\[/X   [/' \
    -e 's/\[[0-9]+\]/[XXX]/' \
    -e 's/[0-9\.]{4}\s+/....    /' \
    -e 's/[0-9]+\.[0-9]+/X.XXXXXX/' \
    -e 's/qid=[0-9-]+/qid=X/' \
    -e 's/nsid=[0-9-]+/nsid=X/' \
    -e 's/cmdid=[0-9-]+/cmdid=X/' \
    -e 's/slba=[0-9]+/slba=X/'

from blktests.

morbidrsa avatar morbidrsa commented on June 2, 2024

@xilabao can you try the above fix?

from blktests.

xilabao avatar xilabao commented on June 2, 2024

cool, it works.

# ./check nvme/001
nvme/001 => nvme0n1p1 (enable nvme_setup_nvm_cmd tracepoint and submit I/O to the device) [passed]
    runtime  0.086s  ...  0.084s

from blktests.

morbidrsa avatar morbidrsa commented on June 2, 2024

OK thanks.

I'll send a PR

from blktests.

osandov avatar osandov commented on June 2, 2024

@morbidrsa's fix didn't work for me. Can you try mine here: 1b0be2a?

from blktests.

xilabao avatar xilabao commented on June 2, 2024

@osandov yours fix works for me too.

from blktests.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.