linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: Yordan Karadzhov <ykaradzhov@vmware.com>
Cc: Linux Trace Devel <linux-trace-devel@vger.kernel.org>
Subject: KernelShark info files
Date: Fri, 1 Mar 2019 13:35:18 -0500	[thread overview]
Message-ID: <20190301133518.2bfa14f7@gandalf.local.home> (raw)

Hi Yordan,

When working on the documentation, I noticed that the last session file
is saved in the location that is defined here in CMakeLists.txt:

# Make a directory to hold configuration files. To change this do:
# cmake .. -DKS_CONF_DIR=/your/preferred/path
set(KS_CONF_DIR "${KS_DIR}/.ksconf" CACHE STRING "Directory for configuration files.")


It should by default be the environment variable of $HOME/.ksconf.

We should also add an option of --ksconf-path to allow the user to
override it, as well as a KSHARK_CONF_DIR environment variable, such
that we have this:

	if --ksconf-path defined
		ksconf = ksconf-path-arg
	else if ENV(KSHARK_CONF_DIR) definde
		ksconf = ENV(KSHARK_CONF_DIR)
	else
		ksconf = ENV(HOME)/.ksconf

This is basically what other tools do.

-- Steve

                 reply	other threads:[~2019-03-01 18:35 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=20190301133518.2bfa14f7@gandalf.local.home \
    --to=rostedt@goodmis.org \
    --cc=linux-trace-devel@vger.kernel.org \
    --cc=ykaradzhov@vmware.com \
    /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).