/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ |
H A D | Event_v1.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!----> 3 <!--################################################################################ --> 4 <!--# Redfish Schema: Event v1.11.1 --> 5 <!--# --> 6 <!--# For a detailed change log, see the README file contained in the DSP8010 bundle, --> 7 <!--# available at http://www.dmtf.org/standards/redfish --> 8 <!--# Copyright 2014-2025 DMTF. --> 9 <!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright --> 10 <!--################################################################################ --> [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ |
H A D | Event_v1.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!----> 3 <!--################################################################################ --> 4 <!--# Redfish Schema: Event v1.11.1 --> 5 <!--# --> 6 <!--# For a detailed change log, see the README file contained in the DSP8010 bundle, --> 7 <!--# available at http://www.dmtf.org/standards/redfish --> 8 <!--# Copyright 2014-2025 DMTF. --> 9 <!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright --> 10 <!--################################################################################ --> [all …]
|
/openbmc/linux/include/rv/ |
H A D | da_monitor.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (C) 2019-2022 Red Hat, Inc. Daniel Bristot de Oliveira <bristot@kernel.org> 21 #define DECLARE_RV_REACTING_HELPERS(name, type) \ argument 22 static char REACT_MSG_##name[1024]; \ 24 static inline char *format_react_msg_##name(type curr_state, type event) \ 26 snprintf(REACT_MSG_##name, 1024, \ 27 "rv: monitor %s does not allow event %s on state %s\n", \ 28 #name, \ 29 model_get_event_name_##name(event), \ 30 model_get_state_name_##name(curr_state)); \ [all …]
|
H A D | automata.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (C) 2019-2022 Red Hat, Inc. Daniel Bristot de Oliveira <bristot@kernel.org> 10 * DECLARE_AUTOMATA_HELPERS - define a set of helper functions for automata 12 * Define a set of helper functions for automata. The 'name' argument is used 16 #define DECLARE_AUTOMATA_HELPERS(name, type) \ argument 19 * model_get_state_name_##name - return the (string) name of the given state \ 21 static char *model_get_state_name_##name(enum states_##name state) \ 23 if ((state < 0) || (state >= state_max_##name)) \ 26 return automaton_##name.state_names[state]; \ 30 * model_get_event_name_##name - return the (string) name of the given event \ [all …]
|
/openbmc/linux/tools/perf/tests/ |
H A D | pmu-events.c | 1 // SPDX-License-Identifier: GPL-2.0 3 #include "parse-events.h" 12 #include "../pmu-events/pmu-events.h" 17 #include "util/parse-events.h" 22 /* used for matching against events from generated pmu-events.c */ 23 struct pmu_event event; member 25 /* used for matching against event aliases */ 46 .event = { 48 .name = "bp_l1_btb_correct", 49 .event = "event=0x8a", [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/ |
H A D | event.py | 2 BitBake 'Event' implementation 10 # SPDX-License-Identifier: GPL-2.0-only 24 # This is the pid for which we should generate the event. This is set when 29 logger = logging.getLogger('BitBake.Event') 31 class Event(object): class 38 class HeartbeatEvent(Event): 41 of time (again runQueueTaskStarted, when there is just one long-running task), so this 42 event is more suitable for doing some task-independent work occasionally.""" 44 Event.__init__(self) 71 _should_exit = threading.Event() [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Logging/ |
H A D | IPMI.interface.yaml | 2 Implement to provide an IPMI System Event Log (SEL) logging interface under 5 SEL records store system event information and will contain a record ID and 6 type followed by type-specific information. The type-specific information 8 adding the SEL record), sensor number, event direction and event-specific 12 events it requires a generator ID (0x20 for BMC), sensor D-Bus path, event 13 direction (assertion or de-assertion), and event specific data. For OEM type 19 - name: IpmiSelAdd 21 Log a system event record type SEL entry. 23 - name: Message 26 The text to log for the event. [all …]
|
H A D | Entry.interface.yaml | 2 Implement to provide event/error entry attributes. This interface should be 9 - name: Id 12 The error event entry id number. 13 - name: Timestamp 16 Commit timestamp of the error event entry in milliseconds since 1970. 17 - name: Severity 20 The severity of the error event entry. 21 - name: Message 24 The message description of the error event entry. 25 - name: EventId [all …]
|
/openbmc/qemu/scripts/tracetool/backend/ |
H A D | simple.py | 1 # -*- coding: utf-8 -*- 4 Simple built-in backend. 8 __copyright__ = "Copyright 2012-2017, Lluís Vilanova <vilanova@ac.upc.edu>" 31 for event in events: 33 api=event.api(), 34 args=event.args) 38 def generate_h(event, group): argument 40 api=event.api(), 41 args=", ".join(event.args.names())) 44 def generate_h_backend_dstate(event, group): argument [all …]
|
/openbmc/linux/kernel/trace/ |
H A D | trace_events_synth.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * trace_events_synth - synthetic trace events 27 C(BAD_NAME, "Illegal name"), \ 28 C(INVALID_CMD, "Command must be of the form: <name> field[;field] ..."),\ 29 C(INVALID_DYN_CMD, "Command must be of the form: s or -:[synthetic/]<name> field[;field] ..."),\ 30 C(EVENT_EXISTS, "Event already exists"), \ 91 static bool synth_event_match(const char *system, const char *event, 104 return ev->ops == &synth_event_ops; in is_synth_event() 114 struct synth_event *event = to_synth_event(ev); in synth_event_is_busy() local 116 return event->ref != 0; in synth_event_is_busy() [all …]
|
/openbmc/qemu/scripts/tracetool/ |
H A D | __init__.py | 1 # -*- coding: utf-8 -*- 4 Machinery for generating tracing-related intermediate files. 8 __copyright__ = "Copyright 2012-2017, Lluís Vilanova <vilanova@ac.upc.edu>" 91 def validate_type(name): argument 92 bits = name.split(" ") 104 "declared as 'void *'" % name) 107 """Event arguments description.""" 112 ---------- 114 List of (type, name) tuples or Arguments objects. 132 ---------- [all …]
|
/openbmc/linux/tools/perf/pmu-events/ |
H A D | empty-pmu-events.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * An empty pmu-events.c file used when there is no architecture json files in 8 #include "pmu-events/pmu-events.h" 16 .name = "l3_cache_rd", 17 .event = "event=0x40", 23 .name = "segment_reg_loads.any", 24 .event = "event=0x6,period=200000,umask=0x80", 29 .name = "dispatch_blocked.any", 30 .event = "event=0x9,period=200000,umask=0x20", 31 .desc = "Memory cluster signals to block micro-op dispatch for any reason", [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | nbd-fault-injector.py | 2 # NBD server - fault injection utility 5 # [inject-error "disconnect-neg1"] 6 # event=neg1 11 # name, so give each [inject-error] a unique name. 13 # inject-error options: 14 # event - name of the trigger event 15 # "neg1" - first part of negotiation struct 16 # "export" - export struct 17 # "neg2" - second part of negotiation struct 18 # "request" - NBD request struct [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/org/open_power/Logging/ |
H A D | PEL.interface.yaml | 2 Provides D-Bus access to OpenPower Platform Event Logs 4 - name: GetPEL 8 - name: pelID 13 - name: data 18 - xyz.openbmc_project.Common.Error.InternalFailure 19 - xyz.openbmc_project.Common.Error.InvalidArgument 21 - name: GetPELFromOBMCID 23 Returns PEL data based on the OpenBMC event log ID. 25 - name: obmcLogID 28 The OpenBMC event log ID of the PEL to retrieve. [all …]
|
/openbmc/qemu/qapi/ |
H A D | trace.json | 1 # -*- mode: python -*- 4 # Copyright (C) 2011-2016 Lluís Vilanova <vilanova@ac.upc.edu> 7 # See the COPYING file in the top-level directory. 16 # State of a tracing event. 18 # @unavailable: The event is statically disabled. 20 # @disabled: The event is dynamically disabled. 22 # @enabled: The event is dynamically enabled. 32 # Information of a tracing event. 34 # @name: Event name. 41 'data': {'name': 'str', 'state': 'TraceEventState' } } [all …]
|
/openbmc/linux/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
H A D | EventClass.py | 2 # SPDX-License-Identifier: GPL-2.0 8 # PerfEvent is the base class for all perf event sample, PebsEvent 9 # is a HW base Intel x86 PEBS event, and user could add more SW/HW 10 # event classes based on requirements. 15 # Event types, user could add more here 17 EVTYPE_PEBS = 1 # Basic PEBS event 18 EVTYPE_PEBS_LL = 2 # PEBS event with load latency info 22 # Currently we don't have good way to tell the event type, but by 23 # the size of raw buffer, raw PEBS event with load latency data's 24 # size is 176 bytes, while the pure PEBS event's size is 144 bytes. [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/tests/ |
H A D | event.py | 2 # BitBake Tests for the Event implementation (event.py) 6 # SPDX-License-Identifier: GPL-2.0-only 21 import bb.event 31 def _store_event_data_string(self, event): argument 32 if isinstance(event, logging.LogRecord): 34 self.event_calls.append(formatter.format(event)) 36 self.event_calls.append(bb.event.getName(event)) 41 """ Class used as specification for UI event handler queue stub objects """ 45 def send(self, event): argument 46 super(EventQueueStub, self)._store_event_data_string(event) [all …]
|
/openbmc/qemu/trace/ |
H A D | control.h | 4 * Copyright (C) 2011-2016 Lluís Vilanova <vilanova@ac.upc.edu> 7 * See the COPYING file in the top-level directory. 13 #include "event-internal.h" 17 size_t event; member 27 * @iter: the event iterator struct 29 * Initialize the event iterator struct @iter, 36 * @iter: the event iterator struct 37 * @pattern: pattern to filter events on name 39 * Initialize the event iterator struct @iter, 41 * with non-matching names. [all …]
|
/openbmc/linux/fs/notify/fanotify/ |
H A D | fanotify.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 /* Possible states of the permission event */ 39 /* Variable size struct for dir file handle + child file handle + name */ 53 * name starts at buf[dir_fh_totlen + dir2_fh_totlen + file_fh_totlen] 56 #define FANOTIFY_DIR_FH_SIZE(info) ((info)->dir_fh_totlen) 57 #define FANOTIFY_DIR2_FH_SIZE(info) ((info)->dir2_fh_totlen) 58 #define FANOTIFY_FILE_FH_SIZE(info) ((info)->file_fh_totlen) 59 #define FANOTIFY_NAME_SIZE(info) ((info)->name_len + 1) 60 #define FANOTIFY_NAME2_SIZE(info) ((info)->name2_len + 1) 73 ((info)->buf + FANOTIFY_DIR_FH_OFFSET(info)) [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_pmu.c | 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 68 if (!amdgpu_pmu_attr->type) in amdgpu_pmu_event_show() 69 return sprintf(buf, "%s\n", amdgpu_pmu_attr->event_str); in amdgpu_pmu_event_show() 72 amdgpu_pmu_attr->event_str, amdgpu_pmu_attr->type); in amdgpu_pmu_event_show() 79 const char *name; member 99 * - PMU typed 105 * - Event config typed 115 { .name = "event", .config = "config:0-7" }, 116 { .name = "instance", .config = "config:8-15" }, 117 { .name = "umask", .config = "config:16-23"}, [all …]
|
/openbmc/linux/Documentation/trace/ |
H A D | events.rst | 2 Event Tracing 13 using the event tracing infrastructure. 15 Not all tracepoints can be traced using the event tracing system; 20 2. Using Event Tracing 24 --------------------------------- 29 To enable a particular event, such as 'sched_wakeup', simply echo it 36 To disable an event, echo the event name to the set_event file prefixed 50 etc., and a full event name looks like this: <subsystem>:<event>. The 51 subsystem name is optional, but it is displayed in the available_events 59 --------------------------- [all …]
|
/openbmc/phosphor-fan-presence/control/ |
H A D | gen-fan-zone-defs.py | 20 into a tuple consisting of the type name and a list with the params 55 if i < len(typeArray) - 1 and type(typeArray[i + 1]) is list: 69 This function then converts the type-list into a C++ type string. 95 # Handle 0-entry parameter lists. 106 if (entry["params"] != -1) and (entry["params"] != len(rest)): 134 def genEvent(event): argument 136 Generates the source code of an event and returns it as a string 139 e += '"' + event["name"] + '",\n' 141 for group in event["groups"]: 149 for d in event["action"]: [all …]
|
/openbmc/linux/tools/testing/selftests/powerpc/pmu/ |
H A D | event.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #include "event.h" 24 static void __event_init_opts(struct event *e, u64 config, in __event_init_opts() 25 int type, char *name, bool sampling) in __event_init_opts() argument 29 e->name = name; in __event_init_opts() 31 e->attr.type = type; in __event_init_opts() 32 e->attr.config = config; in __event_init_opts() 33 e->attr.size = sizeof(e->attr); in __event_init_opts() 35 e->attr.read_format = PERF_FORMAT_TOTAL_TIME_ENABLED | \ in __event_init_opts() 38 e->attr.sample_period = 1000; in __event_init_opts() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/devfreq/event/ |
H A D | samsung,exynos-ppmu.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/devfreq/event/samsung,exynos-ppmu.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chanwoo Choi <cw00.choi@samsung.com> 11 - Krzysztof Kozlowski <krzk@kernel.org> 19 Exynos PPMU driver uses the devfreq-event class to provide event data to 20 various devfreq devices. The devfreq devices would use the event data when 26 - samsung,exynos-ppmu 27 - samsung,exynos-ppmu-v2 [all …]
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/dbus/events-policy/ |
H A D | config.yaml | 1 - name: occpath group 5 - meta: PATH 8 - name: occproctemp property 13 - interface: org.open_power.OCC.Status 17 - name: occprocpower property 22 - interface: org.open_power.OCC.Status 26 - name: occmemtemp property 31 - interface: org.open_power.OCC.Status 35 - name: watch occproctemp 42 - name: watch occprocpower [all …]
|