/openbmc/linux/kernel/trace/rv/ |
H A D | rv_reactors.c | 78 if (strcmp(name, r->reactor->name) == 0) in get_reactor_rdef_by_name() 91 seq_printf(m, "%s\n", rea_def->reactor->name); in reactors_show() 145 seq_printf(m, "[%s]\n", rdef->reactor->name); in monitor_reactor_show() 147 seq_printf(m, "%s\n", rdef->reactor->name); in monitor_reactor_show() 180 mdef->monitor->react = rdef->reactor->react; in monitor_swap_reactors() 225 if (strcmp(ptr, rdef->reactor->name) != 0) in monitor_reactors_write() 278 static int __rv_register_reactor(struct rv_reactor *reactor) in __rv_register_reactor() argument 283 if (strcmp(reactor->name, r->reactor->name) == 0) { in __rv_register_reactor() 284 pr_info("Reactor %s is already registered\n", reactor->name); in __rv_register_reactor() 293 r->reactor = reactor; in __rv_register_reactor() [all …]
|
H A D | Kconfig | 65 bool "Printk reactor" 69 Enables the printk reactor. The printk reactor emits a printk() 73 bool "Panic reactor" 77 Enables the panic reactor. The panic reactor emits a printk()
|
H A D | rv.h | 28 struct rv_reactor *reactor; member
|
/openbmc/dbus-sensors/src/tests/ |
H A D | test_MCTPReactor.cpp | 61 reactor = std::make_shared<MCTPReactor>(assoc); in SetUp() 83 std::shared_ptr<MCTPReactor> reactor; member in MCTPReactorFixture 90 reactor->manageMCTPDevice("/test", {}); in TEST_F() 91 reactor->unmanageMCTPDevice("/test"); in TEST_F() 101 reactor->manageMCTPDevice("/test", device); in TEST_F() 102 reactor->unmanageMCTPDevice("/test"); in TEST_F() 130 reactor->manageMCTPDevice("/test", device); in TEST_F() 131 reactor->unmanageMCTPDevice("/test"); in TEST_F() 161 reactor->manageMCTPDevice("/test", device); in TEST_F() 162 reactor->tick(); in TEST_F() [all …]
|
/openbmc/dbus-sensors/src/mctp/ |
H A D | MCTPReactorMain.cpp | 99 const std::shared_ptr<MCTPReactor>& reactor, sdbusplus::message_t& msg) in addInventory() argument 105 reactor->manageMCTPDevice(path, deviceFromConfig(connection, exposed)); in addInventory() 121 static void removeInventory(const std::shared_ptr<MCTPReactor>& reactor, in removeInventory() argument 130 reactor->unmanageMCTPDevice(path.str); in removeInventory() 149 const std::shared_ptr<MCTPReactor>& reactor, ManagedObjectType& entities) in manageMCTPEntity() argument 155 reactor->manageMCTPDevice(path, in manageMCTPEntity() 188 auto reactor = std::make_shared<MCTPReactor>(associationServer); in main() local 199 reactor->tick(); in main() 227 std::bind_front(removeInventory, reactor)); in main() 236 std::bind_front(addInventory, systemBus, reactor)); in main() [all …]
|
/openbmc/linux/Documentation/tools/rv/ |
H A D | common_ikm.rst | 5 **-r**, **--reactor** *reactor* 7 Enables the *reactor*. See **-h** for a list of available reactors.
|
/openbmc/linux/include/linux/ |
H A D | rv.h | 65 int rv_unregister_reactor(struct rv_reactor *reactor); 66 int rv_register_reactor(struct rv_reactor *reactor);
|
/openbmc/linux/tools/verification/rv/src/ |
H A D | in_kernel.c | 168 static int ikm_write_reactor(char *monitor_name, char *reactor) in ikm_write_reactor() argument 174 retval = tracefs_instance_file_write(NULL, path, reactor); in ikm_write_reactor() 175 debug_msg("ikm: write \"%s\" reactors: %d\n", reactor, retval); in ikm_write_reactor()
|
/openbmc/linux/Documentation/trace/rv/ |
H A D | runtime-verification.rst | 59 In Linux terms, a *reactor* is an reaction method available for *RV monitors*. 218 inside "[]". The default one is the nop (no operation) reactor. 219 - Writing the name of a reactor enables it to the given MONITOR.
|
/openbmc/entity-manager/ |
H A D | CONFIG_FORMAT.md | 10 between a config file being complex to write, and a reactor being complex to 11 write, the reactor will be the one to hold the complexity. Why? 18 the reactor itself contains more complex actions.
|
H A D | README.md | 75 3. **A reactor** The reactors are things that take the entity manager 84 reactor when architectures are multi-tiered. An example of this might include a
|
/openbmc/bmcweb/ |
H A D | COMMON_ERRORS.md | 122 bmcweb uses a single reactor for all operations. Blocking that reactor for any
|