]> sourceware.org Git - systemtap.git/commit
PR12612: compatibility with old staprun/stapio
authorFrank Ch. Eigler <fche@redhat.com>
Tue, 29 Mar 2011 13:33:53 +0000 (09:33 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Tue, 29 Mar 2011 13:33:53 +0000 (09:33 -0400)
commita743989ff9437853c24c5dadaebd0245df75ba93
tree1c5f0eda31bee9637f3bc36b4dbcd47a45f77115
parent02ce1564c6803d8dae42bb68d6ca337eab48b40b
PR12612: compatibility with old staprun/stapio

commit 3abb860f changed the staprun<->runtime message format for
the STP_RELOCATE message, without regard for backward compatibility
for older/mismatching stapruns.  That leads to kernel errors and
no kernel probes and such nonsense.  Let's change the runtime to
interoperate both with old staprun and with the current one.

* runtime/transport/symbols.c (_stp_do_relocation): Also accept
  systemtap-1.3 level relocation message, if the incoming message
  size suggests.
runtime/transport/symbols.c
runtime/transport/transport_msgs.h
This page took 0.028026 seconds and 5 git commands to generate.