Feature #1837

Feature #44: Implement basic introspection support

Include RSB version in process introspection information

Added by J. Moringen over 7 years ago. Updated almost 7 years ago.

Status:ResolvedStart date:04/10/2014
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:Introspection
Target version:rsb-0.11

Description

Tasks

  • Protocol ✓
  • C++ ✓
  • Python ✓
  • Java ✓
  • Common Lisp ✓
  • Introspection tools (✓)

Associated revisions

Revision f0d635a4
Added by J. Moringen almost 7 years ago

Added loop commandline option in common.rst

refs #1837

  • common.rst (Replay-related Options): added loop commandline option
  • bag-play.rst (Description): adjusted include range

Revision e0b0f080
Added by J. Moringen almost 7 years ago

Support RSB version in src/introspection/*.lisp

refs #1837

  • src/introspection/model.lisp (process-info::rsb-version): new slot;
    stores version of RSB implementation used in the process
    (current-process-info): populate rsb-version slot using
    `cl-rsb-system:version/string'
  • src/introspection/conversion.lisp (define-introspection-converter):
    process rsb-version slot
  • src/introspection/remote-introspection.lisp
    (ensure-process integer host-entry process-info): process rsb-version
    slot
  • src/introspection/package.lisp (package rsb.introspection): added
    exported symbol process-info-rsb-version
  • test/introspection/model.lisp
    (define-simple-model-class-tests process-info): added case with
    rsb-version

Revision 904df82e
Added by J. Moringen almost 7 years ago

Added rsb_version in proto/rsb/protocol/operatingsystem/Process.proto

refs #1837

  • proto/rsb/protocol/operatingsystem/Process.proto
    (Process::rsb_version): new field; version of the RSB implementation
    used by the process

Revision 2aaeff99
Added by J. Moringen almost 7 years ago

Include RSB version in introspection messages in src/rsb/introspection/

refs #1837

  • src/rsb/introspection/Model.{h,cpp} (ProcessInfo::rsbVersion): new
    member variable; stores the RSB version of the current process
    (ProcessInfo::ProcessInfo): accept RSB version
    (ProcessInfo::getRSBVersion): new method; return RSB version of the
    current process
  • src/rsb/introspection/IntrospectionSender.cpp
    (IntrospectionSender::sendHello): populate rsb_version member of the
    Process object

Revision ba5241bb
Added by J. Moringen almost 7 years ago

Added RSB version in rsb/introspection/__init__.py

refs #1837

  • rsb/introspection/__init__.py (import rsb.version): new import;
    necessary for determining RSB version
    (ProcessInfo.__init__): added rsbVersion parameter; added
    corresponding attribute
    (ProcessInfo.getRSBVersion): new method; return RSB version
    (ProcessInfo.rsbVersion): corresponding property
    (IntrospectionSender.sendHello): include RSB version in event
  • test/introspectiontest.py (ProcessInfoTest.testConstructionDefaults):
    check rsbVersion property

Revision 8abc8f82
Added by J. Wienke almost 7 years ago

Implement introspection support

Implements introspection support for java.

fixes #1742
fixes #1869
refs #1978
refs #1837
refs #1823

Revision e5ff9439
Added by J. Moringen over 6 years ago

Mention loop commandline option in news.rst

refs #1837

  • news.rst (0.11): mention loop commandline option

Revision dbe1f0db
Added by J. Moringen over 6 years ago

Backport: Mention loop commandline option in news.rst

refs #1837

  • news.rst (0.11): mention loop commandline option

Revision 15873c3e
Added by J. Moringen over 6 years ago

RSB version printing in introspect/print.lisp

refs #1837

  • introspect/print.lisp (print-process-info-details-markup): print
    version of RSB implementation used in the process

Revision 522961e6
Added by J. Moringen over 6 years ago

Backport: RSB version printing in introspect/print.lisp

refs #1837

  • introspect/print.lisp (print-process-info-details-markup): print
    version of RSB implementation used in the process

History

#1 Updated by J. Moringen about 7 years ago

  • Category set to Introspection

#2 Updated by J. Moringen almost 7 years ago

  • Description updated (diff)
  • Status changed from New to In Progress
  • Assignee set to J. Moringen
  • % Done changed from 0 to 30

#3 Updated by J. Moringen almost 7 years ago

  • Assignee changed from J. Moringen to S. Wrede
  • Target version changed from rsb-0.12 to rsb-0.11
  • % Done changed from 30 to 80

#4 Updated by J. Moringen almost 7 years ago

  • Description updated (diff)

#5 Updated by S. Wrede almost 7 years ago

  • Description updated (diff)
  • Status changed from In Progress to Feedback
  • Assignee deleted (S. Wrede)
  • % Done changed from 80 to 100

#6 Updated by J. Wienke almost 7 years ago

  • Status changed from Feedback to Resolved

All implementations do this now.

Also available in: Atom PDF