Home
last modified time | relevance | path

Searched full:events (Results 1 – 25 of 1138) sorted by relevance

12345678910>>...46

/openbmc/sdbusplus/tools/sdbusplus/templates/
H A Devents.hpp.mako1 /* Events for ${events.name}
2 * Version: ${events.version}
14 % for h in events.cpp_includes():
17 %if events.errors:
19 namespace sdbusplus::error::${events.cppNamespacedClass()}
21 % for e in events.errors:
23 ${events.render(loader, "event.hpp.mako", events=events, event=e)}\
26 } // namespace sdbusplus::error::${events.cppNamespacedClass()}
28 %if events.events:
30 namespace sdbusplus::event::${events.cppNamespacedClass()}
[all …]
H A Devents.cpp.mako3 #include <${events.headerFile("event")}>
5 %if events.errors:
7 namespace sdbusplus::error::${events.cppNamespacedClass()}
9 % for e in events.errors:
11 ${events.render(loader, "event.cpp.mako", events=events, event=e)}\
16 % for e in events.errors:
26 } // namespace sdbusplus::error::${events.cppNamespacedClass()}
29 %if events.events:
31 namespace sdbusplus::event::${events.cppNamespacedClass()}
33 % for e in events.events:
[all …]
H A Devents.md.mako1 ${"##"} Events
3 % if events.errors:
6 % for e in events.errors:
7 ${events.render(loader, "event.md.mako", event=e)}
11 % if events.events:
12 ${"###"} Events
14 % for e in events.events:
15 ${events.render(loader, "event.md.mako", event=e)}
/openbmc/qemu/docs/devel/
H A Dtracing.rst17 events::
34 $ echo "memory_region_ops_*" >/tmp/events
35 $ echo "kvm_*" >>/tmp/events
36 $ qemu --trace events=/tmp/events ...
38 Trace events
44 Each directory in the source tree can declare a set of trace events in a local
45 "trace-events" file. All directories which contain "trace-events" files must be
47 file. During build, the "trace-events" file in each listed subdirectory will be
48 processed by the "tracetool" script to generate code for the trace events.
50 The individual "trace-events" files are merged into a "trace-events-all" file,
[all …]
/openbmc/openbmc/meta-phosphor/recipes-phosphor/trace-enable/trace-enable/
H A Dtrace-enable4 events=""
10 if [ -n "${events}" ]
12 events="${events},${line}"
14 events="${line}"
19 if [ -n "${events}" ]
21 events="trace_events=${events}"
22 fw_setenv trace_args "${events}"
/openbmc/qemu/python/qemu/qmp/
H A Devents.py2 QMP Events and EventListeners
4 Asynchronous QMP uses `EventListener` objects to listen for events. An
6 for only specific events. Each `EventListener` instance receives its own
7 copy of events that it hears, so events may be consumed without fear or
8 worry for depriving other listeners of events they need to hear.
31 instance listens only for ‘STOP’ events.
37 Multiple events can be selected for by providing any ``Iterable[str]``:
54 By omitting names entirely, you can listen to ALL events.
65 the top of a FIFO queue returning multiple kinds of events may be prone
69 Using async iterators to retrieve events
[all …]
/openbmc/sdeventplus/src/sdeventplus/source/
H A Dio.hpp35 * @param[in] fd - The file descriptor producing the events
36 * @param[in] events - The event mask passed which determines triggers
40 IO(const Event& event, int fd, uint32_t events, Callback&& callback);
73 /** @brief Gets the events mask used to determine what
74 * events trigger the callback action
77 * @return The events mask
81 /** @brief Sets the events mask used to determine what events
84 * @param[in] events - The events mask
87 void set_events(uint32_t events) const;
89 /** @brief Gets the events mask describing the events
[all …]
H A Dio.cpp14 IO::IO(const Event& event, int fd, uint32_t events, Callback&& callback) : in IO() argument
15 Base(event, create_source(event, fd, events), std::false_type()) in IO()
44 uint32_t events; in get_events() local
47 event.getSdEvent()->sd_event_source_get_io_events(get(), &events)); in get_events()
48 return events; in get_events()
51 void IO::set_events(uint32_t events) const in set_events()
55 event.getSdEvent()->sd_event_source_set_io_events(get(), events)); in set_events()
77 sd_event_source* IO::create_source(const Event& event, int fd, uint32_t events) in create_source() argument
81 event.get(), &source, fd, events, in create_source()
/openbmc/openbmc/poky/documentation/overview-manual/svg/
H A Dbitbake_tasks_map.svg4events="all"/><path d="M 8868 3120.57 Q 8656.57 3120.57 8656.57 1980.33" fill="none" stroke="rgb(0…
/openbmc/sdbusplus/test/
H A Dtimer.cpp14 sd_event* events = nullptr; member in TimerTest
16 // Need this so that events can be initialized.
26 TimerTest() : rc(sd_event_default(&events)), timer(events) in TimerTest()
36 events = sd_event_unref(events); in ~TimerTest()
44 sd_event* events; member in TimerTestCallBack
46 // Need this so that events can be initialized.
64 TimerTestCallBack() : rc(sd_event_default(&events)) in TimerTestCallBack()
73 timer = std::make_unique<Timer>(events, func); in TimerTestCallBack()
79 events = sd_event_unref(events); in ~TimerTestCallBack()
100 if (!sd_event_run(events, sleepTime.count())) in TEST_F()
[all …]
/openbmc/qemu/util/
H A Dfdmon-epoll.c40 .events = new_node ? epoll_events_from_pfd(new_node->pfd.events) : 0, in fdmon_epoll_update()
62 .events = G_IO_IN | G_IO_OUT | G_IO_HUP | G_IO_ERR, in fdmon_epoll_wait()
66 struct epoll_event events[128]; in fdmon_epoll_wait() local
75 ret = epoll_wait(ctx->epollfd, events, in fdmon_epoll_wait()
76 ARRAY_SIZE(events), in fdmon_epoll_wait()
82 int ev = events[i].events; in fdmon_epoll_wait()
88 node = events[i].data.ptr; in fdmon_epoll_wait()
109 if (QLIST_IS_INSERTED(node, node_deleted) || !node->pfd.events) { in fdmon_epoll_try_enable()
112 event.events = epoll_events_from_pfd(node->pfd.events); in fdmon_epoll_try_enable()
/openbmc/phosphor-gpio-monitor/test/
H A Dutest.cpp25 sd_event* events; member in GpioTest
33 // Need this so that events can be initialized.
37 GpioTest() : rc(sd_event_default(&events)) in GpioTest()
51 events = sd_event_unref(events); in ~GpioTest()
52 EXPECT_EQ(events, nullptr); in ~GpioTest()
70 phosphor::gpio::EventPtr eventP{events}; in TEST_F()
71 events = nullptr; in TEST_F()
99 phosphor::gpio::EventPtr eventP{events}; in TEST_F()
100 events = nullptr; in TEST_F()
/openbmc/qemu/scripts/
H A Dcleanup-trace-events.pl10 # Usage: cleanup-trace-events.pl trace-events
12 # Print cleaned up trace-events to standard output.
19 my $events = '';
24 print $events;
26 $events = '';
46 next if $seen{$fname} || $fname eq 'trace-events';
61 $events .= $_;
H A Dsimpletrace.py24 # same trace-events-all file and the same simpletrace.py file that
74 def read_trace_records(events, fobj, read_header): argument
78 event_mapping (str -> Event): events dict, indexed by name
87 event_mapping = {e.name: e for e in events}
91 # If there is no header assume event ID mapping matches events list
93 for event_id, event in enumerate(events):
113 f'{e} event is logged but is not declared in the trace events'
114 'file, try using trace-events-all instead.'
272 def process(events, log, analyzer, read_header=True): argument
275events (file-object or list or str): events list or file-like object or file path as str to read e…
[all …]
/openbmc/openbmc/meta-phosphor/recipes-phosphor/fans/
H A Dphosphor-fan-control-events-config.bb1 SUMMARY = "Phosphor zone events definition default data"
6 SRC_URI = "file://events.yaml"
15 install -D events.yaml ${D}${control_datadir}/events.yaml
18 FILES:${PN} += "${control_datadir}/events.yaml"
/openbmc/sdeventplus/test/source/
H A Dio.cpp63 const uint32_t events = EPOLLIN | EPOLLET; in TEST_F() local
68 EXPECT_CALL(mock, sd_event_add_io(expected_event, testing::_, fd, events, in TEST_F()
93 IO io(*event, fd, events, std::move(callback)); in TEST_F()
114 const uint32_t events = EPOLLIN | EPOLLET; in TEST_F() local
116 EXPECT_CALL(mock, sd_event_add_io(expected_event, testing::_, fd, events, in TEST_F()
123 EXPECT_THROW(IO(*event, fd, events, std::move(callback)), SdEventError); in TEST_F()
138 const int events = EPOLLOUT; in SetUp() local
143 events, testing::_, nullptr)) in SetUp()
157 std::make_unique<IO>(*event, fd, events, [](IO&, int, uint32_t) {}); in SetUp()
234 const uint32_t events = EPOLLIN | EPOLLOUT; in TEST_F() local
[all …]
/openbmc/openbmc/meta-phosphor/recipes-phosphor/trace-enable/
H A Dtrace-enable.bb1 SUMMARY = "Enable Linux trace events"
2 DESCRIPTION = "Enable Linux trace events based on a configuration file"
18 echo ${event} >> ${D}${sysconfdir}/trace-events.conf
20 echo >> ${D}${sysconfdir}/trace-events.conf
21 chmod 0644 ${D}${sysconfdir}/trace-events.conf
31 FILES:${PN} += "${sysconfdir}/trace-events.conf"
/openbmc/qemu/replay/
H A Dreplay-internal.h15 /* Asynchronous events IDs */
29 * Any changes to order/number of events will need to bump
41 /* for async events */
75 * including the logged events from the recorded replay stream. Some
77 * save/restore events take place.
141 /*! Saves queued events (like instructions and sound). */
144 /*! Skips async events until some sync event will be found.
153 /* Asynchronous events queue */
155 /*! Initializes events' processing internals */
157 /*! Clears internal data structures for events handling */
[all …]
/openbmc/phosphor-fan-presence/control/json/
H A Devent.hpp38 * Fan control events are optional, therefore the "events.json" file is
40 * how fan control should function. These events contain the configured
41 * attributes that result in how fans are controlled within a system. Events
46 * When no events exist, the configured fans are set to their corresponding
52 /* JSON file name for events */
53 static constexpr auto confFileName = "events.json";
92 * @brief Clear all groups available for events
100 * @brief Set the groups that are available for events
102 * @param[in] groups - All groups available for events
111 * @brief Load and/or return all groups available to be configured on events
[all …]
/openbmc/qemu/scripts/tracetool/format/
H A Dh.py18 def generate(events, backend, group): argument
29 for e in events:
33 for e in events:
37 for e in events:
43 # a single define for the two "sub-events"
49 backend.generate_begin(events, group)
51 for e in events:
89 backend.generate_end(events, group)
/openbmc/qemu/docs/
H A Dqemu-option-trace.rst.inc6 Immediately enable events matching *PATTERN*
9 or ``ftrace`` tracing backend. To specify multiple events or patterns,
14 ``events=FILE``
16 Immediately enable events listed in *FILE*.
17 The file must contain one event name (as listed in the ``trace-events-all``
/openbmc/phosphor-debug-collector/
H A Dwatch.hpp40 * @param[in] mask - Mask of events
41 * @param[in] events - Events to be watched
46 Watch(const EventPtr& eventObj, int flags, uint32_t mask, uint32_t events,
64 * @param[in] revents - events that matched for fd
78 /** @brief Mask of events */
81 /** @brief Events to be watched */
82 uint32_t events; member in phosphor::dump::inotify::Watch
/openbmc/qemu/trace/
H A Dcontrol.h2 * Interface for configuring and controlling the state of tracing events.
30 * for all events.
37 * @pattern: pattern to filter events on name
40 * using @pattern to filter out events
48 * @group_id: group_id to filter events by group.
51 * using @group_id to filter for events in the group.
62 * Returns: the next event, or NULL if no more events exist
180 * List all available events.
186 * @line_buf: A string with a glob pattern of events to be enabled or,
189 * Enable or disable matching events.
[all …]
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-inotify/
H A Dnew-test-inotify.patch66 events = self.__read_all_events(i)
77 - self.assertEquals(events, expected)
78 + if events != expected:
82 + for i, event in enumerate(events):
93 + raise Exception("Events not correct.")
107 events = self.__read_all_events(i)
119 - self.assertEquals(events, expected)
120 + if events != expected:
124 + for i, event in enumerate(events):
135 + raise Exception("Events not correct.")
[all …]
/openbmc/u-boot/lib/efi_selftest/
H A Defi_selftest_event_groups.c7 * This test checks the notification of group events and the
54 * Create multiple events in an event group. Signal each event once and check
55 * that all events are notified once in each round.
62 struct efi_event *events[GROUP_SIZE]; in execute() local
69 &event_group, &events[i]); in execute()
77 ret = boottime->signal_event(events[i]); in execute()
92 ret = boottime->check_event(events[j]); in execute()
106 ret = boottime->check_event(events[j]); in execute()
124 ret = boottime->close_event(events[i]); in execute()

12345678910>>...46