* [Bug translator/14787] New: consider making stap -L output prettier/more structured
@ 2012-10-30 21:00 smakarov at redhat dot com
2012-10-30 21:04 ` [Bug translator/14787] " smakarov at redhat dot com
2016-08-22 16:23 ` flu at redhat dot com
0 siblings, 2 replies; 3+ messages in thread
From: smakarov at redhat dot com @ 2012-10-30 21:00 UTC (permalink / raw)
To: systemtap
http://sourceware.org/bugzilla/show_bug.cgi?id=14787
Bug #: 14787
Summary: consider making stap -L output prettier/more
structured
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
AssignedTo: systemtap@sourceware.org
ReportedBy: smakarov@redhat.com
Classification: Unclassified
One thing that became noticeable when preparing for the presentation at FSOSS
2012 with Lukas Berk was that the output of stap -L can get a bit cluttered:
$ stap -L "hotspot.*"
hotspot.class_loaded name:string class:string classloader_id:long
is_shared:long probestr:string $arg1:long $arg2:long $arg3:long $arg4:long
hotspot.class_unloaded name:string class:string classloader_id:long
is_shared:long probestr:string $arg1:long $arg2:long $arg3:long $arg4:long
hotspot.compiled_method_load name:string class:string method:string sig:string
code:long size:long probestr:string $arg1:long $arg2:long $arg3:long $arg4:long
$arg5:long $arg6:long $arg7:long $arg8:long
hotspot.compiled_method_unload name:string class:string method:string
sig:string probestr:string $arg1:long $arg2:long $arg3:long $arg4:long
$arg5:long $arg6:long
hotspot.gc_begin name:string is_full:long probestr:string $arg1:long
hotspot.gc_end name:string probestr:string
hotspot.mem_pool_gc_begin name:string manager:string pool:string initial:long
used:long committed:long max:long probestr:string $arg1:long $arg2:long
$arg3:long $arg4:long $arg5:long $arg6:long $arg7:long $arg8:long
...
This is basically glance-able for an experienced user, but when seeing that
output in a demo, I instantly wished that the probe names and variable names in
the above were a bit more visually separated, even if done via some additional
command line option. Just something to consider, one possible way to clean it
up might be to do:
hotspot.class_loaded
name:string class:string classloader_id:long is_shared:long
probestr:string $arg1:long $arg2:long $arg3:long $arg4:long
hotspot.class_unloaded
name:string class:string classloader_id:long is_shared:long
probestr:string $arg1:long $arg2:long $arg3:long $arg4:long
hotspot.compiled_method_load
name:string class:string method:string sig:string code:long size:long
probestr:string $arg1:long $arg2:long $arg3:long $arg4:long
$arg5:long $arg6:long $arg7:long $arg8:long
hotspot.compiled_method_unload
name:string class:string method:string sig:string probestr:string
$arg1:long $arg2:long $arg3:long $arg4:long $arg5:long $arg6:long
...
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug translator/14787] consider making stap -L output prettier/more structured
2012-10-30 21:00 [Bug translator/14787] New: consider making stap -L output prettier/more structured smakarov at redhat dot com
@ 2012-10-30 21:04 ` smakarov at redhat dot com
2016-08-22 16:23 ` flu at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: smakarov at redhat dot com @ 2012-10-30 21:04 UTC (permalink / raw)
To: systemtap
http://sourceware.org/bugzilla/show_bug.cgi?id=14787
--- Comment #1 from Serguei Makarov <smakarov at redhat dot com> 2012-10-30 21:04:16 UTC ---
Another thing to consider, of course, is just colorizing the output for
glance-ability. This can be done on its own, or combined with the indentation
suggested above.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug translator/14787] consider making stap -L output prettier/more structured
2012-10-30 21:00 [Bug translator/14787] New: consider making stap -L output prettier/more structured smakarov at redhat dot com
2012-10-30 21:04 ` [Bug translator/14787] " smakarov at redhat dot com
@ 2016-08-22 16:23 ` flu at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: flu at redhat dot com @ 2016-08-22 16:23 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=14787
Felix Lu <flu at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |flu at redhat dot com
Resolution|--- |FIXED
--- Comment #2 from Felix Lu <flu at redhat dot com> ---
Commit 1ad27a4b0b6aa colorizes the probe points.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-08-22 16:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-30 21:00 [Bug translator/14787] New: consider making stap -L output prettier/more structured smakarov at redhat dot com
2012-10-30 21:04 ` [Bug translator/14787] " smakarov at redhat dot com
2016-08-22 16:23 ` flu at redhat dot com
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 read-only IMAP folder(s) and NNTP newsgroup(s).