]> sourceware.org Git - systemtap.git/commit
move the bulk of [task_]ns_* tapsets to helper fns
authorAbegail Jakop <ajakop@redhat.com>
Mon, 1 Jun 2015 15:46:34 +0000 (11:46 -0400)
committerAbegail Jakop <ajakop@redhat.com>
Thu, 11 Jun 2015 14:50:14 +0000 (10:50 -0400)
commitb7bdd1f6c6516ab6b06658bd22f35a0b5bb01602
tree0cc58d46c376499f3b3997b21097bc86dfbf7a09
parenteabe2a5783c699ae976054e1d172e5a04889e828
move the bulk of [task_]ns_* tapsets to helper fns

runtime/linux/namespaces.h: define helper fns to get specific pid or user
information based on the target namespaces. rely on the new runtime
variable _stp_namespace_pid rather than the _STP_NAMESPACE_PID macro
runtime/transport/transport.c: define runtime var _stp_namespace_pid
that will contain the target namespaces pid. default to _stp_pid
if there was no target ns pid specified
tapset/linux/*.stp: replace body of [task_]ns_* tapset functions with a
call to the helper functions in namespaces.h
translate.cxx: remove _STP_NAMESPACE_PID macro definition
runtime/linux/namespaces.h
runtime/transport/transport.c
tapset/linux/context.stp
tapset/linux/task.stp
translate.cxx
This page took 0.027295 seconds and 5 git commands to generate.