public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/23226] New: stap foo.stp should search a path for sample foo.stp
@ 2018-05-23 18:28 fche at redhat dot com
  2018-06-07 18:11 ` [Bug translator/23226] " juddin at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: fche at redhat dot com @ 2018-05-23 18:28 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=23226

            Bug ID: 23226
           Summary: stap foo.stp should search a path for sample foo.stp
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
          Assignee: systemtap at sourceware dot org
          Reporter: fche at redhat dot com
  Target Milestone: ---

In order to make it easier to use the prepackaged systemtap samples, it'd be
good to let users run them without having to type the whole /usr/share/.../
path name.

Let's add a new command line option that searches the $(EXAMPLE_INSTALL_DIR)
also.  Perhaps:

   stap --search tcp_connections

which could ride on the same logic/db as the stap -i "sample" uses, and iff
there is one hit, select that one.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

* [Bug translator/23226] stap foo.stp should search a path for sample foo.stp
  2018-05-23 18:28 [Bug translator/23226] New: stap foo.stp should search a path for sample foo.stp fche at redhat dot com
@ 2018-06-07 18:11 ` juddin at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: juddin at redhat dot com @ 2018-06-07 18:11 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=23226

Jafeer Uddin <juddin at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |juddin at redhat dot com
         Resolution|---                         |FIXED
           Assignee|systemtap at sourceware dot org    |juddin at redhat dot com

--- Comment #1 from Jafeer Uddin <juddin at redhat dot com> ---
A "--example" feature which allows running prepackaged systemtap samples
without having to type the whole path is implemented in commit
aabcebc837b42385bc8833cf0a57f7016012b010

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

end of thread, other threads:[~2018-06-07 18:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-23 18:28 [Bug translator/23226] New: stap foo.stp should search a path for sample foo.stp fche at redhat dot com
2018-06-07 18:11 ` [Bug translator/23226] " juddin 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).