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

mmcsnoop: trace mmc operations #100

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Commits on Jan 7, 2021

  1. iolatency: use ftrace instances

    Make use of ftrace instances feature for being able to start several
    ftrace scripts simultaneously.
    
    Signed-off-by: Andreas Klinger <[email protected]>
    it-klinger committed Jan 7, 2021
    Configuration menu
    Copy the full SHA
    ba63228 View commit details
    Browse the repository at this point in the history
  2. iosnoop: use ftrace instances

    Make use of ftrace instances feature for being able to start several
    ftrace scripts simultaneously.
    
    Signed-off-by: Andreas Klinger <[email protected]>
    it-klinger committed Jan 7, 2021
    Configuration menu
    Copy the full SHA
    9f88605 View commit details
    Browse the repository at this point in the history
  3. iosnoop: set wroteflock flag

    Set a flag to indicate that file lock was written. Also add a warning
    when switching off current_tracer.
    
    Signed-off-by: Andreas Klinger <[email protected]>
    it-klinger committed Jan 7, 2021
    Configuration menu
    Copy the full SHA
    15f8b67 View commit details
    Browse the repository at this point in the history
  4. iosnoop: use global clock

    Make usage of trace_clock global. This makes tracing output of different
    cores compareable not only among each other but also to dmesg.
    
    Signed-off-by: Andreas Klinger <[email protected]>
    it-klinger committed Jan 7, 2021
    Configuration menu
    Copy the full SHA
    11d7a7e View commit details
    Browse the repository at this point in the history
  5. mmcsnoop: added for tracing mmc operations

    Prints out relevant datas of mmc commands by using ftrace framework.
    
    In comparison to the iosnoop script which is tracing block i/o
    operations there are a couple of informations special to mmc devices and
    shown by this script:
    - operation command (opcode)
    - command argument
    - command flags
    - error code
    
    Make use of ftrace instances feature for being able to start several
    ftrace scripts simultaneously. Use trace_clock global to be compareable
    to dmesg and between cpu cores.
    
    Signed-off-by: Andreas Klinger <[email protected]>
    it-klinger committed Jan 7, 2021
    Configuration menu
    Copy the full SHA
    c476d33 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2021

  1. mmcsnoop: trace mmc operations and block-io

    Add a new script mmcsnoop for tracing mmc operations, especially for printing out command, their arguments, flags and error.
    
    At the same time block-io should also be traced for being able to compare.
    Therefore support for instances is needed and added to iosnoop and iolatency scripts.
    it-klinger authored Jan 8, 2021
    Configuration menu
    Copy the full SHA
    aa6772e View commit details
    Browse the repository at this point in the history