From: "Jan Beulich" <JBeulich@suse.com>
To: Roger Pau Monne <roger.pau@citrix.com>
Cc: Stefano Stabellini <sstabellini@kernel.org>,
Wei Liu <wei.liu2@citrix.com>,
Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
George Dunlap <George.Dunlap@eu.citrix.com>,
Andrew Cooper <andrew.cooper3@citrix.com>,
Ian Jackson <ian.jackson@eu.citrix.com>, Tim Deegan <tim@xen.org>,
xen-devel@lists.xenproject.org
Subject: Re: [PATCH for-next 3/9] gcov: rename sysctl and functions
Date: Tue, 07 Nov 2017 10:13:37 -0700 [thread overview]
Message-ID: <5A01F7D1020000780018CFB7@prv-mh.provo.novell.com> (raw)
In-Reply-To: <20171026091938.59247-4-roger.pau@citrix.com>
>>> On 26.10.17 at 11:19, <roger.pau@citrix.com> wrote:
> --- a/xen/include/public/sysctl.h
> +++ b/xen/include/public/sysctl.h
> @@ -646,11 +646,11 @@ struct xen_sysctl_scheduler_op {
>
> #define XEN_GCOV_FORMAT_MAGIC 0x58434f56 /* XCOV */
>
> -#define XEN_SYSCTL_GCOV_get_size 0 /* Get total size of output data */
> -#define XEN_SYSCTL_GCOV_read 1 /* Read output data */
> -#define XEN_SYSCTL_GCOV_reset 2 /* Reset all counters */
> +#define XEN_SYSCTL_COV_get_size 0 /* Get total size of output data */
> +#define XEN_SYSCTL_COV_read 1 /* Read output data */
> +#define XEN_SYSCTL_COV_reset 2 /* Reset all counters */
>
> -struct xen_sysctl_gcov_op {
> +struct xen_sysctl_cov_op {
> uint32_t cmd;
> uint32_t size; /* IN/OUT: size of the buffer */
> XEN_GUEST_HANDLE_64(char) buffer; /* OUT */
> @@ -1065,7 +1065,7 @@ struct xen_sysctl {
> #define XEN_SYSCTL_numainfo 17
> #define XEN_SYSCTL_cpupool_op 18
> #define XEN_SYSCTL_scheduler_op 19
> -#define XEN_SYSCTL_gcov_op 20
> +#define XEN_SYSCTL_cov_op 20
> #define XEN_SYSCTL_psr_cmt_op 21
> #define XEN_SYSCTL_pcitopoinfo 22
> #define XEN_SYSCTL_psr_cat_op 23
> @@ -1095,7 +1095,7 @@ struct xen_sysctl {
> struct xen_sysctl_lockprof_op lockprof_op;
> struct xen_sysctl_cpupool_op cpupool_op;
> struct xen_sysctl_scheduler_op scheduler_op;
> - struct xen_sysctl_gcov_op gcov_op;
> + struct xen_sysctl_cov_op cov_op;
> struct xen_sysctl_psr_cmt_op psr_cmt_op;
> struct xen_sysctl_psr_cat_op psr_cat_op;
> struct xen_sysctl_tmem_op tmem_op;
While for internal things "cov" is probably fine for now, for the
public interface I think I would prefer it to be a little longer,
perhaps even fully spelled out "coverage".
Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
next prev parent reply other threads:[~2017-11-07 17:13 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20171026091938.59247-1-roger.pau@citrix.com>
2017-10-26 9:19 ` [PATCH for-next 1/9] gcov: return ENOSYS for unimplemented gcov domctl Roger Pau Monne
2017-10-27 13:59 ` [PATCH for-4.10 " Ian Jackson
2017-10-27 14:00 ` Julien Grall
2017-11-06 10:31 ` [PATCH for-next " Jan Beulich
2017-11-06 11:16 ` Ian Jackson
2017-11-06 12:06 ` Jan Beulich
2017-11-07 9:41 ` Roger Pau Monné
2017-11-07 11:54 ` Wei Liu
2017-10-26 9:19 ` [PATCH for-next 2/9] gcov: rename folder and header to coverage Roger Pau Monne
2017-10-30 16:48 ` Wei Liu
2017-10-26 9:19 ` [PATCH for-next 3/9] gcov: rename sysctl and functions Roger Pau Monne
2017-10-30 16:48 ` Wei Liu
2017-11-07 17:13 ` Jan Beulich [this message]
2017-10-26 9:19 ` [PATCH for-next 4/9] gcov: introduce hooks for the sysctl Roger Pau Monne
2017-10-26 10:23 ` Andrew Cooper
2017-10-26 9:19 ` [PATCH for-next 5/9] coverage: introduce generic file Roger Pau Monne
2017-10-30 16:48 ` Wei Liu
2017-10-30 16:57 ` Roger Pau Monné
2017-11-08 8:02 ` Jan Beulich
2017-11-08 8:05 ` Jan Beulich
2017-10-26 9:19 ` [PATCH for-next 6/9] kconfig: add llvm coverage option Roger Pau Monne
2017-10-26 10:03 ` Wei Liu
2017-10-26 10:08 ` Roger Pau Monné
2017-10-26 10:10 ` Wei Liu
2017-11-08 8:13 ` Jan Beulich
2017-11-08 8:49 ` Roger Pau Monné
2017-11-08 11:07 ` Jan Beulich
2017-11-08 11:21 ` Wei Liu
2017-10-26 10:24 ` Andrew Cooper
2017-11-08 8:07 ` Jan Beulich
2017-11-08 8:16 ` Jan Beulich
2017-10-26 9:19 ` [PATCH for-next 7/9] coverage: introduce support for llvm profiling Roger Pau Monne
2017-10-26 9:19 ` [PATCH for-next 8/9] xsm: add bodge when compiling with llvm coverage support Roger Pau Monne
2017-10-26 15:12 ` Daniel De Graaf
2017-11-07 17:18 ` Jan Beulich
2017-10-26 9:19 ` [PATCH for-next 9/9] coverage: add documentation for LLVM coverage Roger Pau Monne
2017-10-30 16:48 ` Wei Liu
2017-10-30 16:58 ` Roger Pau Monné
[not found] ` <20171026091938.59247-8-roger.pau@citrix.com>
2017-10-30 16:48 ` [PATCH for-next 7/9] coverage: introduce support for llvm profiling Wei Liu
2017-11-08 8:38 ` Jan Beulich
2017-11-08 8:56 ` Roger Pau Monné
[not found] ` <20171108085653.bcrszybk65ypiew7@dhcp-3-128.uk.xensource.com>
2017-11-08 11:08 ` Jan Beulich
2017-11-09 6:04 ` [llvm-dev] " Vedant Kumar
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=5A01F7D1020000780018CFB7@prv-mh.provo.novell.com \
--to=jbeulich@suse.com \
--cc=George.Dunlap@eu.citrix.com \
--cc=andrew.cooper3@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=konrad.wilk@oracle.com \
--cc=roger.pau@citrix.com \
--cc=sstabellini@kernel.org \
--cc=tim@xen.org \
--cc=wei.liu2@citrix.com \
--cc=xen-devel@lists.xenproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.