From 8d3d5992b15d39aee88d955d6be1906186cf1b7f Mon Sep 17 00:00:00 2001 From: Christian Spielberger Date: Wed, 27 Sep 2023 13:37:06 +0200 Subject: [PATCH] Revert "tools: jbuf plots - no pipe for jq" This reverts commit 35d4e84e068570a7e7ff6928a173909ffebc6630. Because of ``` jq: error: Could not open file jbuf.json: Permission denied ``` --- tools/jbuf/generate_plot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/jbuf/generate_plot.sh b/tools/jbuf/generate_plot.sh index 44864c9a1b..6167f98e5b 100755 --- a/tools/jbuf/generate_plot.sh +++ b/tools/jbuf/generate_plot.sh @@ -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