[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v2 2/5] xen/console: allow log level threshold adjustments


  • To: Wei Liu <wei.liu2@xxxxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Daniel De Graaf <dgdegra@xxxxxxxxxxxxx>
  • Date: Tue, 5 Jul 2016 13:52:53 -0400
  • Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>
  • Delivery-date: Tue, 05 Jul 2016 17:53:05 +0000
  • Ironport-phdr: 9a23:glPX9BLu1HnHJbPNytmcpTZWNBhigK39O0sv0rFitYgVKPTxwZ3uMQTl6Ol3ixeRBMOAuqoC0bad6vm8EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6anHS+4HYoFwnlMkItf6KuS9aU1Zj8jrnus7ToICxwzAKnZr1zKBjk5S7wjeIxxbVYF6Aq1xHSqWFJcekFjUlhJFaUggqurpzopM0r221qtvkg789NV7nhN+R9FOQATWcbKWR92OnH/VmGF1POtTMgVTApnxsAJwnYpEXlU5a3tirn7MJ22TWAPN2wRrcxD3Dq36ptDRPllioDf2op/WeShsFugaZzpBO6uwc504PSeJuSNvd1YuXaZ9xMFkRbWcMEeyVHA464J6cCR8UbNO9W593xqFcDogG3LRW9D+PojDlTjzn52rNsgLdpKh3PwAF1R4FGi3/Tttigcf5ICe0=
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

On 07/04/2016 11:13 AM, Wei Liu wrote:
... from serial console and via sysctl so that one doesn't always need
to reboot to see more / less messages.

Note that upper thresholds driven from the serial console are sticky,
i.e. while they get adjusted upwards when the lower threshold would
otherwise end up above the upper one, they don't get adjusted when
reducing the lower one. Full flexibility is available only via the
sysctl interface.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

Rework the sysctl interface to pass in / out strings directly. Provide
some helper functions to transform from log level numbers to strings and
vice verse. Lower and upper bounds are checked. Add XSM hook.

Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>

Acked-by: Daniel De Graaf <dgdegra@xxxxxxxxxxxxx>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.