linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Yordan Karadzhov <y.karadz@gmail.com>
To: linux-trace-devel@vger.kernel.org
Cc: Yordan Karadzhov <y.karadz@gmail.com>, Vitaly Chikunov <vt@altlinux.org>
Subject: [PATCH] kernel-shark: Fix Capture if directory contains space
Date: Sat,  3 Jun 2023 11:36:32 +0300	[thread overview]
Message-ID: <20230603083632.597760-1-y.karadz@gmail.com> (raw)

Desktop directory could be two words separated by a space, for example "Work place".
The Capture widget then tries to write into file named "Work".

Suggested-by: Vitaly Chikunov <vt@altlinux.org>
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=217459
Signed-off-by: Yordan Karadzhov <y.karadz@gmail.com>
---
 bin/kshark-su-record | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/kshark-su-record b/bin/kshark-su-record
index 70d781d..f3d971a 100755
--- a/bin/kshark-su-record
+++ b/bin/kshark-su-record
@@ -2,4 +2,4 @@
 
 xhost +si:localuser:root &>/dev/null
 
-pkexec kshark-record -o ${PWD}/trace.dat
+pkexec kshark-record -o "${PWD}/trace.dat"
-- 
2.40.1


                 reply	other threads:[~2023-06-03  8:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230603083632.597760-1-y.karadz@gmail.com \
    --to=y.karadz@gmail.com \
    --cc=linux-trace-devel@vger.kernel.org \
    --cc=vt@altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).