This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/14787] New: consider making stap -L output prettier/more structured


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]