Skip to content

Commit

Permalink
Revert "tools: jbuf plots - no pipe for jq"
Browse files Browse the repository at this point in the history
This reverts commit 35d4e84.

Because of
```
 jq: error: Could not open file jbuf.json: Permission denied
```
  • Loading branch information
cspiel1 committed Sep 27, 2023
1 parent 35d4e84 commit 8d3d599
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/jbuf/generate_plot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function gen_datfile() {
filename=$2

jqc='.traceEvents[] | select (.ph == "'"${ph}"'") | .args.line'
jq -r "${jqc}" jbuf.json > $filename
cat jbuf.json | jq -r "${jqc}" > $filename
}

source ./jitter.sh
Expand Down

0 comments on commit 8d3d599

Please sign in to comment.