From: "Verma, Vishal L" <vishal.l.verma@intel.com>
To: "Jiang, Dave" <dave.jiang@intel.com>,
"linux-cxl@vger.kernel.org" <linux-cxl@vger.kernel.org>
Cc: "Williams, Dan J" <dan.j.williams@intel.com>,
"Schofield, Alison" <alison.schofield@intel.com>,
"rostedt@goodmis.org" <rostedt@goodmis.org>,
"Weiny, Ira" <ira.weiny@intel.com>
Subject: Re: [PATCH v4 09/10] cxl: add systemd service for monitor
Date: Wed, 9 Nov 2022 00:48:35 +0000 [thread overview]
Message-ID: <e6cce76a670848b0a354b8df85e6c6983d06ac95.camel@intel.com> (raw)
In-Reply-To: <166793223975.3768752.11846694721780323639.stgit@djiang5-desk3.ch.intel.com>
On Tue, 2022-11-08 at 11:30 -0700, Dave Jiang wrote:
> Add a systemd service file for cxl monitor to start the monitoring service
> on boot initialization. Add the installation setup for the service file.
>
> Signed-off-by: Dave Jiang <dave.jiang@intel.com>
> ---
> cxl/cxl-monitor.service | 9 +++++++++
> cxl/meson.build | 4 ++++
> ndctl.spec.in | 1 +
> 3 files changed, 14 insertions(+)
> create mode 100644 cxl/cxl-monitor.service
>
> diff --git a/cxl/cxl-monitor.service b/cxl/cxl-monitor.service
> new file mode 100644
> index 000000000000..87c842b6f595
> --- /dev/null
> +++ b/cxl/cxl-monitor.service
> @@ -0,0 +1,9 @@
> +[Unit]
> +Description=Cxl Monitor Daemon
s/Cxl/CXL/
> +
> +[Service]
> +Type=simple
> +ExecStart=/usr/bin/cxl monitor
> +
> +[Install]
> +WantedBy=multi-user.target
> diff --git a/cxl/meson.build b/cxl/meson.build
> index eb8b2b1070ed..fc2e946707a8 100644
> --- a/cxl/meson.build
> +++ b/cxl/meson.build
> @@ -11,6 +11,10 @@ cxl_src = [
> 'monitor.c',
> ]
>
> +if get_option('systemd').enabled()
> + install_data('cxl-monitor.service', install_dir : systemdunitdir)
> +endif
> +
> cxl_tool = executable('cxl',
> cxl_src,
> include_directories : root_inc,
> diff --git a/ndctl.spec.in b/ndctl.spec.in
> index cfcafa2ba816..c883317c5ce7 100644
> --- a/ndctl.spec.in
> +++ b/ndctl.spec.in
> @@ -194,6 +194,7 @@ fi
> %{_bindir}/cxl
> %{_mandir}/man1/cxl*
> %{bashcompdir}/cxl
> +%{_unitdir}/cxl-monitor.service
>
> %files -n LNAME
> %defattr(-,root,root)
>
>
next prev parent reply other threads:[~2022-11-09 0:48 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-08 18:29 [PATCH v4 00/10] cxl: add monitor support for trace events Dave Jiang
2022-11-08 18:29 ` [PATCH v4 01/10] cxl: add helper function to parse trace event to json object Dave Jiang
2022-11-08 23:02 ` Verma, Vishal L
2022-11-09 21:27 ` Dave Jiang
2022-11-08 18:29 ` [PATCH v4 02/10] cxl: add helper to parse through all current events Dave Jiang
2022-11-08 23:45 ` Verma, Vishal L
2022-11-09 21:30 ` Dave Jiang
2022-11-08 18:30 ` [PATCH v4 03/10] cxl: add common function to enable event trace Dave Jiang
2022-11-08 18:30 ` [PATCH v4 04/10] cxl: add common function to disable " Dave Jiang
2022-11-08 23:47 ` Verma, Vishal L
2022-11-08 18:30 ` [PATCH v4 05/10] cxl: add monitor function for event trace events Dave Jiang
2022-11-17 18:37 ` Steven Rostedt
2022-11-17 20:29 ` Dave Jiang
2022-11-17 20:33 ` Steven Rostedt
2022-11-17 20:44 ` Dave Jiang
2022-11-08 18:30 ` [PATCH v4 06/10] cxl: add logging functions for monitor Dave Jiang
2022-11-09 0:31 ` Verma, Vishal L
2022-11-08 18:30 ` [PATCH v4 07/10] cxl: add monitor command to cxl Dave Jiang
2022-11-09 0:35 ` Verma, Vishal L
2022-11-08 18:30 ` [PATCH v4 08/10] cxl: add an optional pid check to event parsing Dave Jiang
2022-11-09 0:48 ` Verma, Vishal L
2022-11-09 22:44 ` Dave Jiang
2022-11-08 18:30 ` [PATCH v4 09/10] cxl: add systemd service for monitor Dave Jiang
2022-11-09 0:48 ` Verma, Vishal L [this message]
2022-11-08 18:30 ` [PATCH v4 10/10] cxl: add man page documentation " Dave Jiang
2022-11-09 0:58 ` Verma, Vishal L
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=e6cce76a670848b0a354b8df85e6c6983d06ac95.camel@intel.com \
--to=vishal.l.verma@intel.com \
--cc=alison.schofield@intel.com \
--cc=dan.j.williams@intel.com \
--cc=dave.jiang@intel.com \
--cc=ira.weiny@intel.com \
--cc=linux-cxl@vger.kernel.org \
--cc=rostedt@goodmis.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