linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] powerpc/xmon: Paged output for paca display
@ 2015-10-08  0:50 Sam Bobroff
  2015-10-08  0:50 ` [PATCH v3 1/2] " Sam Bobroff
  2015-10-08  0:50 ` [PATCH v3 2/2] powerpc/xmon: Paginate kernel log buffer display Sam Bobroff
  0 siblings, 2 replies; 7+ messages in thread
From: Sam Bobroff @ 2015-10-08  0:50 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: khandual, mpe




Changes v2 -> v3:

Moved the pagination implementation from xmon.c to nonstdio.c where it's much
easier to do and the code is significantly simplified.

As it's now trivial to do, add the capability to truncate the output or to stop
pagination and dump the rest of the output.

Changed function naming scheme to read more easily (e.g.
xmon_start_pagination()).


Changes v1 -> v2:

* Removed pagination parameters from commands, replaced with new command to set
  page size. This works better for multiple commands and produces simpler code.
* Switched from encoding the page position in the command buffer to using some
  globals. Saves some memory and is less invasive to the command code.
* Added a patch to paginate the kernel log buffer display.


Sam Bobroff (2):
  powerpc/xmon: Paged output for paca display
  powerpc/xmon: Paginate kernel log buffer display

 arch/powerpc/xmon/nonstdio.c | 57 ++++++++++++++++++++++++++++++++++++++++++--
 arch/powerpc/xmon/nonstdio.h |  3 +++
 arch/powerpc/xmon/xmon.c     | 18 ++++++++++++++
 3 files changed, 76 insertions(+), 2 deletions(-)

-- 
2.1.4

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-10-15 11:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-08  0:50 [PATCH v3 0/2] powerpc/xmon: Paged output for paca display Sam Bobroff
2015-10-08  0:50 ` [PATCH v3 1/2] " Sam Bobroff
2015-10-14  9:39   ` Michael Ellerman
2015-10-14 22:24     ` Sam Bobroff
2015-10-15  2:33       ` Michael Ellerman
2015-10-15 11:10   ` [v3,1/2] " Michael Ellerman
2015-10-08  0:50 ` [PATCH v3 2/2] powerpc/xmon: Paginate kernel log buffer display Sam Bobroff

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).