Feature #1837
Feature #44: Implement basic introspection support
Include RSB version in process introspection information
Status: | Resolved | Start date: | 04/10/2014 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | Introspection | |||
Target version: | rsb-0.11 |
Associated revisions
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
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
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
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
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
Mention loop commandline option in news.rst
refs #1837
- news.rst (0.11): mention loop commandline option
Backport: Mention loop commandline option in news.rst
refs #1837
- news.rst (0.11): mention loop commandline option
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
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 over 9 years ago
- Category set to Introspection
#2 Updated by J. Moringen over 9 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 over 9 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 over 9 years ago
- Description updated (diff)
#5 Updated by S. Wrede over 9 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 over 9 years ago
- Status changed from Feedback to Resolved
All implementations do this now.