]> sourceware.org Git - systemtap.git/commit
PR14168: Let stap_system() callers describe the command
authorJosh Stone <jistone@redhat.com>
Fri, 15 Jun 2012 21:16:27 +0000 (14:16 -0700)
committerJosh Stone <jistone@redhat.com>
Fri, 15 Jun 2012 21:16:27 +0000 (14:16 -0700)
commitb13c6a37ed4a4f93943d942da75958e15b25c350
tree89970394c83666a9c71f07ebf7cea8dbc1f95ac5
parent42da159946927cf0a89b0a970a5643bdb0edfcca
PR14168: Let stap_system() callers describe the command

This fixes the gripe of commit 42da159, that error codes from
"env ... make" were identified as env failures.

* util.cxx (stap_system): Add a "description" parameter that names the
  command for the WARNING message.
* util.h (stap_system): Keep the old form as a wrapper which uses
  args[0] as the description.
* buildrun.cxx (run_make_cmd): Now more descriptive than ever before,
  pass the name "kbuild" to stap_system().
buildrun.cxx
util.cxx
util.h
This page took 0.022292 seconds and 5 git commands to generate.