Return-Path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=eU5sl6K5IZEswnco6V7prpQoKNRKMsk+n1WdXKaCeqg=; b=MLiCMV3BZ8wS18hiLwGWLcLXUi9fDamJ8OVh8/N3J0I/1NN3NBL1FhvZ1R/8hvPkyn aI8NOdGy2UbhUuuN6UyKhxyXhEbg68dalNVbZtXJ63JbnrEYDjxXGnsYSEAFZaXGYzR0 TbTl+CZpZMVsvEdSqo1bx6v+XbQMq6Vu4MJh0PDxvmZhUIuq3SK/w8mTkalIworK7epc ezzI9lKsqGrvNrgmT9oKlzXQ1dQw3aKzeFzFHQtQM8FZj1XdtR/kIF9wN8Rms7tR2IBr Gm8Mc4WXvsFQm4S/p/Loknk03hrNnnGo6Y9JmjUXRGsXEXz0hGG+dgm57TkBvZyFxPuB Y6tA== Subject: [PATCH -perfbook 1/2] formal: Move formal/data to CodeSamples/formal/data References: From: Akira Yokosawa Message-ID: <8c6e7368-8c01-bb4c-1069-46e7798ae512@gmail.com> Date: Thu, 9 Sep 2021 13:14:41 +0900 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit To: "Paul E. McKenney" Cc: perfbook@vger.kernel.org, Akira Yokosawa List-ID: The "data" directory with the plot script should be near the script used to obtain the data. Also adjust path in \includegraphics{} and remove a copy command in plot.sh. Signed-off-by: Akira Yokosawa --- Note: Trailing spaces in the .eps file as generated by gnuplot is kept intact. Thanks, Akira -- {formal => CodeSamples/formal}/data/.gitignore | 1 - {formal => CodeSamples/formal/data}/RCU-test-ratio.eps | 0 {formal => CodeSamples/formal}/data/plot.sh | 2 -- {formal => CodeSamples/formal}/data/rcu-test.dat | 0 formal/formal.tex | 4 ++-- 5 files changed, 2 insertions(+), 5 deletions(-) rename {formal => CodeSamples/formal}/data/.gitignore (50%) rename {formal => CodeSamples/formal/data}/RCU-test-ratio.eps (100%) rename {formal => CodeSamples/formal}/data/plot.sh (96%) rename {formal => CodeSamples/formal}/data/rcu-test.dat (100%) diff --git a/formal/data/.gitignore b/CodeSamples/formal/data/.gitignore similarity index 50% rename from formal/data/.gitignore rename to CodeSamples/formal/data/.gitignore index e307f160..a1363379 100644 --- a/formal/data/.gitignore +++ b/CodeSamples/formal/data/.gitignore @@ -1,2 +1 @@ -*.eps *.pdf diff --git a/formal/RCU-test-ratio.eps b/CodeSamples/formal/data/RCU-test-ratio.eps similarity index 100% rename from formal/RCU-test-ratio.eps rename to CodeSamples/formal/data/RCU-test-ratio.eps diff --git a/formal/data/plot.sh b/CodeSamples/formal/data/plot.sh similarity index 96% rename from formal/data/plot.sh rename to CodeSamples/formal/data/plot.sh index dbda174c..ab74b753 100644 --- a/formal/data/plot.sh +++ b/CodeSamples/formal/data/plot.sh @@ -41,5 +41,3 @@ set style line 2 \ plot 'rcu-test.dat' using 2 t "RCU", '' using 3:xticlabels(1) t "RCU Test", \ '' using 5 with line linestyle 2 axis x1y2 t "\% Test" ---EOF--- - -cp RCU-test-ratio.eps ../RCU-test-ratio.eps diff --git a/formal/data/rcu-test.dat b/CodeSamples/formal/data/rcu-test.dat similarity index 100% rename from formal/data/rcu-test.dat rename to CodeSamples/formal/data/rcu-test.dat diff --git a/formal/formal.tex b/formal/formal.tex index ba52da88..55a5ed98 100644 --- a/formal/formal.tex +++ b/formal/formal.tex @@ -318,9 +318,9 @@ can help reduce the cost of finding and fixing any bugs located. \begin{figure} \centering \IfEbookSize{ -\resizebox{\onecolumntextwidth}{!}{\includegraphics{formal/RCU-test-ratio.pdf}} +\resizebox{\onecolumntextwidth}{!}{\includegraphics{CodeSamples/formal/data/RCU-test-ratio.pdf}} }{ -\resizebox{4.5in}{!}{\includegraphics{formal/RCU-test-ratio.pdf}} +\resizebox{4.5in}{!}{\includegraphics{CodeSamples/formal/data/RCU-test-ratio.pdf}} } \caption{Linux-Kernel RCU Test Code} \label{fig:formal:Linux-Kernel RCU Test Code} -- 2.17.1