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

BugFix for preads #167

Merged
merged 1 commit into from
Aug 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dfanalyzer/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def io_function(json_object, current_dict, time_approximate,condition_fn):
if "POSIX" == json_object["cat"] and "ret" in json_object["args"]:
if json_object["name"] == "write":
d["size"] = int(json_object["args"]["ret"])
elif json_object["name"] == "read":
elif json_object["name"] in ["read", "pread"]:
d["size"] = int(json_object["args"]["ret"])
elif json_object["name"] == "fwrite":
d["size"] = 1
Expand Down
2 changes: 1 addition & 1 deletion docs/dfanalyzer_build.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ To run the notebook you will have to install Jupyter. We have a simple requireme
cd dftracer
pip install -r examples/dfanalyzer/requirements.txt

A simple example of loading DFAnalyzer and quick recommended queries are available on to :code:`<dftracer>/examples/dfanalyzer/dfanalyzer_distributed.ipynb` and run your notebook.
A simple example of loading DFAnalyzer and quick recommended queries are available on to :code:`<dftracer>/examples/dfanalyzer/dfanalyzer.ipynb` and run your notebook.
Loading