Home
last modified time | relevance | path

Searched +full:event +full:- (Results 1 – 25 of 1108) sorted by relevance

12345678910>>...45

/openbmc/linux/tools/testing/selftests/powerpc/pmu/event_code_tests/
H A Dgeneric_events_valid_test.c1 // SPDX-License-Identifier: GPL-2.0-only
9 #include "../event.h"
13 * Testcase to ensure that using invalid event in generic
14 * event for PERF_TYPE_HARDWARE should fail
19 struct event event; in generic_events_valid_test() local
29 * - PERF_COUNT_HW_BUS_CYCLES in generic_events_valid_test()
30 * - PERF_COUNT_HW_STALLED_CYCLES_FRONTEND in generic_events_valid_test()
31 * - PERF_COUNT_HW_STALLED_CYCLES_BACKEND in generic_events_valid_test()
32 * - PERF_COUNT_HW_REF_CPU_CYCLES in generic_events_valid_test()
35 event_init_opts(&event, PERF_COUNT_HW_CPU_CYCLES, PERF_TYPE_HARDWARE, "event"); in generic_events_valid_test()
[all …]
H A Dhw_cache_event_type_test.c1 // SPDX-License-Identifier: GPL-2.0-only
9 #include "../event.h"
18 * Hardware cache event operation type : PERF_COUNT_HW_CACHE_OP_READ
19 * Hardware cache event result type : PERF_COUNT_HW_CACHE_RESULT_MISS
24 * Hardware cache event operation type : PERF_COUNT_HW_CACHE_OP_WRITE
25 * Hardware cache event result type : PERF_COUNT_HW_CACHE_RESULT_ACCESS
30 * Hardware cache event operation type : PERF_COUNT_HW_CACHE_OP_WRITE
31 * Hardware cache event result type : PERF_COUNT_HW_CACHE_RESULT_ACCESS
36 * Hardware cache event operation type : PERF_COUNT_HW_CACHE_OP_READ
37 * Hardware cache event result type : Invalid ( > PERF_COUNT_HW_CACHE_RESULT_MAX)
[all …]
/openbmc/qemu/replay/
H A Dreplay-events.c2 * replay-events.c
4 * Copyright (c) 2010-2015 Institute for System Programming
8 * See the COPYING file in the top-level directory.
13 #include "qemu/error-report.h"
15 #include "replay-internal.h"
20 typedef struct Event { struct
26 QTAILQ_ENTRY(Event) events; argument
27 } Event; typedef
29 static QTAILQ_HEAD(, Event) events_list = QTAILQ_HEAD_INITIALIZER(events_list);
34 static void replay_run_event(Event *event) in replay_run_event() argument
[all …]
/openbmc/linux/arch/powerpc/perf/
H A Dpower9-events-list.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
9 * Power9 event codes.
11 EVENT(PM_CYC, 0x0001e)
12 EVENT(PM_ICT_NOSLOT_CYC, 0x100f8)
13 EVENT(PM_CMPLU_STALL, 0x1e054)
14 EVENT(PM_INST_CMPL, 0x00002)
15 EVENT(PM_BR_CMPL, 0x4d05e)
16 EVENT(PM_BR_MPRED_CMPL, 0x400f6)
19 EVENT(PM_LD_REF_L1, 0x100fc)
21 EVENT(PM_LD_MISS_L1_FIN, 0x2c04e)
[all …]
H A Dpower7-events-list.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
8 EVENT(PM_IC_DEMAND_L2_BR_ALL, 0x04898)
9 EVENT(PM_GCT_UTIL_7_TO_10_SLOTS, 0x020a0)
10 EVENT(PM_PMC2_SAVED, 0x10022)
11 EVENT(PM_CMPLU_STALL_DFU, 0x2003c)
12 EVENT(PM_VSU0_16FLOP, 0x0a0a4)
13 EVENT(PM_MRK_LSU_DERAT_MISS, 0x3d05a)
14 EVENT(PM_MRK_ST_CMPL, 0x10034)
15 EVENT(PM_NEST_PAIR3_ADD, 0x40881)
16 EVENT(PM_L2_ST_DISP, 0x46180)
[all …]
H A Dpower8-events-list.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
9 * Power8 event codes.
11 EVENT(PM_CYC, 0x0001e)
12 EVENT(PM_GCT_NOSLOT_CYC, 0x100f8)
13 EVENT(PM_CMPLU_STALL, 0x4000a)
14 EVENT(PM_INST_CMPL, 0x00002)
15 EVENT(PM_BRU_FIN, 0x10068)
16 EVENT(PM_BR_MPRED_CMPL, 0x400f6)
19 EVENT(PM_LD_REF_L1, 0x100ee)
21 EVENT(PM_LD_MISS_L1, 0x3e054)
[all …]
H A Dcore-fsl-emb.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Performance event support - Freescale Embedded Performance Monitor
5 * Copyright 2008-2009 Paul Mackerras, IBM Corporation.
23 struct perf_event *event[MAX_HWEVENTS]; member
162 static void fsl_emb_pmu_read(struct perf_event *event) in fsl_emb_pmu_read() argument
166 if (event->hw.state & PERF_HES_STOPPED) in fsl_emb_pmu_read()
171 * are soft-disabled, as long as interrupts are hard-enabled. in fsl_emb_pmu_read()
175 prev = local64_read(&event->hw.prev_count); in fsl_emb_pmu_read()
177 val = read_pmc(event->hw.idx); in fsl_emb_pmu_read()
178 } while (local64_cmpxchg(&event->hw.prev_count, prev, val) != prev); in fsl_emb_pmu_read()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/core/
H A Devent.c2 * Copyright 2013-2014 Red Hat Inc.
16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
22 #include <core/event.h>
26 nvkm_event_put(struct nvkm_event *event, u32 types, int index) in nvkm_event_put() argument
28 assert_spin_locked(&event->refs_lock); in nvkm_event_put()
30 nvkm_trace(event->subdev, "event: decr %08x on %d\n", types, index); in nvkm_event_put()
34 if (--event->refs[index * event->types_nr + type] == 0) { in nvkm_event_put()
35 nvkm_trace(event->subdev, "event: blocking %d on %d\n", type, index); in nvkm_event_put()
36 if (event->func->fini) in nvkm_event_put()
37 event->func->fini(event, 1 << type, index); in nvkm_event_put()
[all …]
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/
H A DEvent_v1.xml1 <?xml version="1.0" encoding="UTF-8"?>
2 <!---->
3 <!--################################################################################ -->
4 <!--# Redfish Schema: Event v1.11.0 -->
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-2024 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 DEvent_v1.xml1 <?xml version="1.0" encoding="UTF-8"?>
2 <!---->
3 <!--################################################################################ -->
4 <!--# Redfish Schema: Event v1.11.0 -->
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-2024 DMTF. -->
9 <!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
10 <!--################################################################################ -->
[all …]
/openbmc/sdeventplus/src/sdeventplus/
H A Devent.cpp1 #include <systemd/sd-event.h>
3 #include <sdeventplus/event.hpp>
14 Event::Event(sd_event* event, const internal::SdEvent* sdevent) : in Event() function in sdeventplus::Event
15 sdevent(sdevent), event(event, sdevent, true) in Event()
18 Event::Event(sd_event* event, std::false_type, in Event() function in sdeventplus::Event
20 sdevent(sdevent), event(std::move(event), sdevent, true) in Event()
23 Event::Event(const Event& other, sdeventplus::internal::NoOwn) : in Event() function in sdeventplus::Event
24 sdevent(other.sdevent), event(other.get(), other.getSdEvent(), false) in Event()
27 Event Event::get_new(const internal::SdEvent* sdevent) in get_new()
29 sd_event* event = nullptr; in get_new() local
[all …]
/openbmc/linux/kernel/events/
H A Dcore.c1 // SPDX-License-Identifier: GPL-2.0
6 * Copyright (C) 2008-2011 Red Hat, Inc., Ingo Molnar
7 * Copyright (C) 2008-2011 Red Hat, Inc., Peter Zijlstra
75 struct task_struct *p = tfc->p; in remote_function()
78 /* -EAGAIN */ in remote_function()
87 tfc->ret = -ESRCH; /* No such (running) process */ in remote_function()
92 tfc->ret = tfc->func(tfc->info); in remote_function()
96 * task_function_call - call a function on the cpu on which a task runs
106 * returns @func return value or -ESRCH or -ENXIO when the process isn't running
115 .ret = -EAGAIN, in task_function_call()
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/ui/
H A Dtoasterui.py7 # Copyright (C) 2006-2012 Richard Purdie
10 # SPDX-License-Identifier: GPL-2.0-only
28 # pylint: disable=invalid-name
63 now_ms = int((now - int(now)) * 1000)
95 "bb.event.BuildInit",
96 "bb.event.BuildCompleted",
97 "bb.event.BuildStarted",
98 "bb.event.CacheLoadCompleted",
99 "bb.event.CacheLoadProgress",
100 "bb.event.CacheLoadStarted",
[all …]
H A Duihelper.py2 # Copyright (C) 2006 - 2007 Michael 'Mickey' Lauer
3 # Copyright (C) 2006 - 2007 Richard Purdie
5 # SPDX-License-Identifier: GPL-2.0-only
22 def eventHandler(self, event): argument
32 if isinstance(event, bb.build.TaskStarted):
33 tid = event._fn + ":" + event._task
34 if event._mc != "default":
35 …tid] = { 'title' : "mc:%s:%s %s" % (event._mc, event._package, event._task), 'starttime' : time.ti…
37 …ning_tasks[tid] = { 'title' : "%s %s" % (event._package, event._task), 'starttime' : time.time(), …
39 self.pidmap[event.pid] = tid
[all …]
H A Dteamcity.py5 # See https://www.jetbrains.com/help/teamcity/build-script-interaction-with-teamcity.html
10 # Copyright (C) 2006-2012 Richard Purdie
11 # Copyright (C) 2018-2020 Agilent Technologies, Inc.
13 # SPDX-License-Identifier: GPL-2.0-only
32 import bb.event
48 …splay/TCD10/Build+Script+Interaction+with+TeamCity#BuildScriptInteractionwithTeamCity-Escapedvalues
90 and (now - self._last_progress_state[2]).microseconds >= 5000) \
123 _evt_list = ["bb.runqueue.runQueueExitWait", "bb.event.LogExecTTY", "logging.LogRecord",
124 "bb.build.TaskFailed", "bb.build.TaskBase", "bb.event.ParseStarted",
125 "bb.event.ParseProgress", "bb.event.ParseCompleted", "bb.event.CacheLoadStarted",
[all …]
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-bus-event_source-devices-dfl_fme5 Description: Read-only. Attribute group to describe the magic bits
7 (See ABI/testing/sysfs-bus-event_source-devices-format).
13 event = "config:0-11" - event ID
14 evtype = "config:12-15" - event type
15 portid = "config:16-23" - event source
19 fab_mmio_read = "event=0x06,evtype=0x02,portid=0xff"
21 It shows this fab_mmio_read is a fabric type (0x02) event with
22 0x06 local event id for overall monitoring (portid=0xff).
28 Description: Read-only. This file always returns cpu which the PMU is bound
35 Description: Read-only. Attribute group to describe performance monitoring
[all …]
/openbmc/linux/tools/perf/util/
H A Dsession.c1 // SPDX-License-Identifier: GPL-2.0
31 #include "thread-stack.h"
32 #include "sample-raw.h"
43 union perf_event *event, u64 file_offset, in perf_session__process_compressed_event() argument
49 size_t mmap_len, decomp_len = session->header.env.comp_mmap_len; in perf_session__process_compressed_event()
50 struct decomp *decomp, *decomp_last = session->active_decomp->decomp_last; in perf_session__process_compressed_event()
53 decomp_last_rem = decomp_last->size - decomp_last->head; in perf_session__process_compressed_event()
59 MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); in perf_session__process_compressed_event()
62 return -1; in perf_session__process_compressed_event()
65 decomp->file_pos = file_offset; in perf_session__process_compressed_event()
[all …]
H A Devent.c15 #include "event.h"
24 #include "time-utils.h"
33 #include "bpf-event.h"
106 type == 'A') || strcmp(name, args->name)) in find_func_symbol_cb()
109 args->start = start; in find_func_symbol_cb()
118 if (strcmp(name, args->name)) in find_any_symbol_cb()
121 args->start = start; in find_any_symbol_cb()
131 return -1; in kallsyms__get_function_start()
143 return -1; in kallsyms__get_symbol_start()
150 struct perf_record_stat_config *event) in perf_event__read_stat_config() argument
[all …]
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dfweh.c1 // SPDX-License-Identifier: ISC
19 * struct brcmf_fweh_queue_item - event item on event queue.
22 * @code: event code.
23 * @ifidx: interface index related to this event.
25 * @emsg: common parameters of the firmware event message.
27 * @data: event specific data part of the firmware event.
40 * struct brcmf_fweh_event_name - code, name mapping entry.
51 /* array for mapping code to event name */
58 * brcmf_fweh_event_name() - returns name for given event code.
79 * brcmf_fweh_queue_event() - create and queue event.
[all …]
/openbmc/linux/Documentation/trace/
H A Dboottime-trace.rst1 .. SPDX-License-Identifier: GPL-2.0
4 Boot-time tracing
12 Boot-time tracing allows users to trace boot-time process including
13 device initialization with full features of ftrace including per-event
14 filter and actions, histograms, kprobe-events and synthetic-events,
27 .. [1] See :ref:`Documentation/admin-guide/bootconfig.rst <bootconfig>`
28 .. [2] See :ref:`Documentation/admin-guide/kernel-parameters.rst <kernelparameters>`
31 ---------------------
37 Output trace-event data on printk buffer too.
53 Add fgraph non-tracing function filters.
[all …]
/openbmc/phosphor-webui/app/common/directives/
H A Dlog-event.html1 <div class="row column event-log__single-event"
2 ng-class="{'active': event.meta, 'selected': event.selected}">
4 <div class="inline__confirm" ng-class="{active: event.confirm}">
5 <div class="inline__confirm-message">
6 …<p class="h3"><i></i>Are you sure you want to <strong class="ng-binding">delete this event</strong…
8 <div class="inline__confirm-buttons">
9 <button class="btn-primary" ng-click="accept(event)">Yes</button>
10 <button class="btn-primary" ng-click="event.confirm=false;">No</button>
14 <div class="column small-1 large-2 event-log__col-check">
15 <label class="control-check">
[all …]
/openbmc/linux/drivers/perf/
H A Driscv_pmu.c1 // SPDX-License-Identifier: GPL-2.0
3 * RISC-V performance counter support.
7 * This implementation is based on old RISC-V perf and ARM perf event code
21 static bool riscv_perf_user_access(struct perf_event *event) in riscv_perf_user_access() argument
23 return ((event->attr.type == PERF_TYPE_HARDWARE) || in riscv_perf_user_access()
24 (event->attr.type == PERF_TYPE_HW_CACHE) || in riscv_perf_user_access()
25 (event->attr.type == PERF_TYPE_RAW)) && in riscv_perf_user_access()
26 !!(event->hw.flags & PERF_EVENT_FLAG_USER_READ_CNT) && in riscv_perf_user_access()
27 (event->hw.idx != -1); in riscv_perf_user_access()
30 void arch_perf_update_userpage(struct perf_event *event, in arch_perf_update_userpage() argument
[all …]
/openbmc/linux/net/sctp/
H A Dulpevent.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (c) 1999-2000 Cisco, Inc.
5 * Copyright (c) 1999-2001 Motorola, Inc.
10 * These functions manipulate an sctp event. The struct ulpevent is used
15 * lksctp developers <linux-sctp@vger.kernel.org>
31 static void sctp_ulpevent_receive_data(struct sctp_ulpevent *event,
33 static void sctp_ulpevent_release_data(struct sctp_ulpevent *event);
34 static void sctp_ulpevent_release_frag_data(struct sctp_ulpevent *event);
37 /* Initialize an ULP event from an given skb. */
38 static void sctp_ulpevent_init(struct sctp_ulpevent *event, in sctp_ulpevent_init() argument
[all …]
/openbmc/linux/fs/notify/
H A Dnotification.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * the event happened. When inotify gets an event it will need to add that
10 * event to the group notify queue. Since a single event might need to be on
11 * multiple group's notification queues we can't add the event directly to each
13 * has a pointer back to the original event. Since the majority of events are
15 * event_holder into each event. This means we have a single allocation instead
41 * fsnotify_get_cookie - return a unique cookie for use in synchronizing events.
51 struct fsnotify_event *event) in fsnotify_destroy_event() argument
53 /* Overflow events are per-group and we don't want to free them */ in fsnotify_destroy_event()
54 if (!event || event == group->overflow_event) in fsnotify_destroy_event()
[all …]
/openbmc/openbmc-test-automation/redfish/systems/eventlog/
H A Dtest_event_logging.robot24 Event Log Check After BMC Reboot
25 [Documentation] Check event log after BMC rebooted.
28 Redfish Purge Event Log
29 Event Log Should Not Exist
36 Event Log Should Not Exist
39 Event Log Check After Host Poweron
40 [Documentation] Check event log after host has booted.
43 Redfish Purge Event Log
44 Event Log Should Not Exist
49 Event Log Should Not Exist
[all …]

12345678910>>...45