Fix stapiu cleanup to not hold rcu lock while decrementing semaphores.

* runtime/uprobes-inode.c (stapiu_decrement_process_semaphores): Unlock
  rcu while writing semaphores.  Otherwise we're atomic and we can't be in
  atomic context while writing semaphores.
Fix module build problem on RHEL5 ia64.

* runtime/sym.c (_stp_build_id_check): Only call __access_process_vm()
  when we're not using in-kernel utrace.  On RHEL5 ia64 calling
  __access_process_vm() doesn't work since it ends up calling
  flush_icache_range(), which isn't exported.
* runtime/vma.c (_stp_vma_match_vdso): Ditto.
Fix module build problem on ARM.

* runtime/vma.c (_stp_vma_match_vdso): Call __access_process_vm_noflush()
  instead of __access_process_vm().  When reading user memory, the
  __access_process_vm_noflush() and __access_process_vm() functions are
  fairly equivalent and we're only reading here.  (The write side of
  __access_process_vm() calls non-exported functions on ia64, mips,
  and arm.)
* runtime/sym.c (_stp_build_id_check): Ditto.
Move pf2.* sample script from process/ to profiling/ subdirectory
examples: add pf3.stp

* profiling/pf3.*: New example for combined kernel/user-space
  gross function profiling.
pf3.stp sample: fix index title
pf3.stp sample: and regenerate the examples index

Next up, one thousand commits to add then subtract
whitespace.
Added new NFS server example script.
Added meta file for nfsdtop.stp and regenerated example index files.

* testsuite/systemtap.examples/network/nfsdtop.meta: New file.
* testsuite/systemtap.examples/network/nfsdtop.stp: Made executable and
  added '#! /usr/bin/env stap' line at the top.
* testsuite/systemtap.examples/index.html: Regenerated.
* testsuite/systemtap.examples/index.txt: Ditto.
* testsuite/systemtap.examples/keyword-index.html: Ditto.
* testsuite/systemtap.examples/keyword-index.txt: Ditto.
Improved nfsdtop.stp by using aggregates.

* testsuite/systemtap.examples/network/nfsdtop.stp: Use aggregates to
  optimize a bit and reduce the number of global variables.
runtime/autoconf: compensate for missing <linux/wait.h> in some inode-uprobes versions
Don't compile csclient.cxx and cscommon.cxx when HAVE_NSS is false.

- Don't compile the files at all (Makefile.am)
- #if HAVE_NSS added to the files in case another distro compiles
  them anyway.
- Don't call functions in these files from elsewhere.
Clarify that resource limits are imposed on stap-server requests and not on stap-server itself.
Fix compile problem by changing 'stp_for_each_cpu' to 'for_each_possible_cpu'.

* runtime/runtime.h: Removed stp_for_each_cpu() macro definition, since no
  longer needed (and 'cpu_possible_map' has been removed from the upstream
  kernel).
* runtime/map-stat.c: Replaced 'stp_for_each_cpu()' with
  'for_each_possible_cpu()'.
* runtime/map.c: Ditto.
* runtime/perf.c: Ditto.
* runtime/pmap-gen.c: Ditto.
* runtime/stat.c: Ditto.
* runtime/transport/procfs.c: Ditto.
* translate.cxx: Ditto.
test at_var_mark.exp requires uprobes
Fixed PR13745 by updating memory tracepoint examples.

* testsuite/systemtap.examples/memory/mmanonpage.stp: Updated tracepoints
  for RHEL6 and upstream kernels.
* testsuite/systemtap.examples/memory/mmanonpage.stp: Ditto.
* testsuite/systemtap.examples/memory/mmfilepage.stp: Ditto.
* testsuite/systemtap.examples/memory/mmwriteback.stp: Ditto.
* testsuite/systemtap.examples/memory/mmanonpage.meta: Updated script
  tracepoint dependencies in 'test_support' section.
* testsuite/systemtap.examples/memory/mmfilepage.meta: Ditto.
* testsuite/systemtap.examples/memory/mmwriteback.meta: Ditto.
PR13667 (In Progress) - Expose Netfilter Hooks

Preliminary work setting up new probe points.
PR13667: rework/simplify rough draft for netfilter.hook probes
csclient: check directly for negative IPv4 pieces

As noted by clang, the code was looking for negative values of an
unsigned variable (which was read by strtoul).

  CXX    stap-csclient.o
../csclient.cxx:2638:44: error: comparison of unsigned expression < 0
      is always false [-Werror,-Wtautological-compare]
      if (errno != 0 || *estr != '\0' || p < 0 || p > 255)
                                         ~ ^ ~

This can never be negative, but strtoul will implicitly case negative-
looking strings to unsigned, which will make them fail p > 255 anyway.
But to be more direct, switch to [signed] long and use strtol.
dwflpp: Mark loc2c_error as noreturn

Clang complains thusly:

../dwflpp.cxx:2281:15: error: no matching function for call to
      'c_translate_constant'
      *tail = c_translate_constant (pool, &loc2c_error, this,
              ^~~~~~~~~~~~~~~~~~~~
In file included from ../dwflpp.cxx:54:
../loc2c.h:46:18: note: candidate function not viable: no known
      conversion from 'void (*)(void *, const char *, ...)' to
      'void (*)(void *, const char *, ...) __attribute__((noreturn))'
      for 2nd argument
struct location *c_translate_constant (struct obstack *,
                 ^

The declaration for loc2c_error just needs the matching attribute.