Home
last modified time | relevance | path

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

12345678910>>...44

/Linux-v6.6/include/rv/
Dda_monitor.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) 2019-2022 Red Hat, Inc. Daniel Bristot de Oliveira <bristot@kernel.org>
20 #define DECLARE_RV_REACTING_HELPERS(name, type) \ argument
21 static char REACT_MSG_##name[1024]; \
23 static inline char *format_react_msg_##name(type curr_state, type event) \
25 snprintf(REACT_MSG_##name, 1024, \
26 "rv: monitor %s does not allow event %s on state %s\n", \
27 #name, \
28 model_get_event_name_##name(event), \
29 model_get_state_name_##name(curr_state)); \
[all …]
Dautomata.h1 /* 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 …]
/Linux-v6.6/tools/perf/tests/
Dpmu-events.c1 // 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 …]
Dparse-metric.c1 // SPDX-License-Identifier: GPL-2.0
8 #include "pmu-events/pmu-events.h"
17 const char *event; member
21 static u64 find_value(const char *name, struct value *values) in find_value() argument
25 while (v->event) { in find_value()
26 if (!strcmp(name, v->event)) in find_value()
27 return v->val; in find_value()
40 count = find_value(evsel->name, vals); in load_runtime_stat()
41 evsel->supported = true; in load_runtime_stat()
42 evsel->stats->aggr->counts.val = count; in load_runtime_stat()
[all …]
/Linux-v6.6/kernel/trace/
Dtrace_events_synth.c1 // 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 …]
/Linux-v6.6/tools/perf/pmu-events/
Dempty-pmu-events.c1 // 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 …]
Djevents.py2 # SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)
16 # List of regular event tables.
18 # List of event tables generated from "/sys" directories.
24 # Mapping between sys event table names and sys metric table names.
26 # Map from an event name to an architecture standard
32 # Name of events table to be written out
36 # Name of metrics table to be written out
40 # Map from the name of a metric group to a description of the group.
45 'name', 'topic', 'desc',
47 'event',
[all …]
/Linux-v6.6/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DEventClass.py2 # 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 …]
/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/
Damdgpu_pmu.c16 * 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 …]
/Linux-v6.6/fs/notify/fanotify/
Dfanotify.h1 /* 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 …]
/Linux-v6.6/Documentation/trace/
Devents.rst2 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 …]
/Linux-v6.6/include/linux/
Dtrace_events.h1 /* SPDX-License-Identifier: GPL-2.0 */
58 struct trace_event *event);
74 * The trace entry - the most basic unit of tracing. This is what
77 * bash-15816 [01] 235.197585: idle_cpu <- irq_enter
87 ((1 << (sizeof(((struct trace_entry *)0)->type) * 8)) - 1)
90 * Trace iterator - used by printout routines who present trace
139 int flags, struct trace_event *event);
154 extern int register_trace_event(struct trace_event *event);
155 extern int unregister_trace_event(struct trace_event *event);
171 entry->preempt_count = trace_ctx & 0xff; in tracing_generic_entry_update()
[all …]
/Linux-v6.6/tools/testing/selftests/powerpc/pmu/
Devent.c1 // 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 …]
/Linux-v6.6/Documentation/devicetree/bindings/devfreq/event/
Dsamsung,exynos-ppmu.yaml1 # 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 …]
/Linux-v6.6/tools/perf/util/
Dbpf-event.c1 // SPDX-License-Identifier: GPL-2.0
12 #include "bpf-event.h"
13 #include "bpf-utils.h"
23 #include "util/synthetic-events.h"
31 ret += snprintf(buf + ret, size - ret, "%02x", data[i]); in snprintf_hex()
36 union perf_event *event, in machine__process_bpf_event_load() argument
40 struct perf_env *env = machine->env; in machine__process_bpf_event_load()
42 int id = event->bpf.id; in machine__process_bpf_event_load()
45 /* perf-record, no need to handle bpf-event */ in machine__process_bpf_event_load()
52 info_linear = info_node->info_linear; in machine__process_bpf_event_load()
[all …]
Ddata-convert-bt.c1 // SPDX-License-Identifier: GPL-2.0-only
14 #include <babeltrace/ctf-writer/writer.h>
15 #include <babeltrace/ctf-writer/clock.h>
16 #include <babeltrace/ctf-writer/stream.h>
17 #include <babeltrace/ctf-writer/event.h>
18 #include <babeltrace/ctf-writer/event-types.h>
19 #include <babeltrace/ctf-writer/event-fields.h>
20 #include <babeltrace/ctf-ir/utils.h>
23 #include "data-convert.h"
39 #include <traceevent/event-parse.h>
[all …]
/Linux-v6.6/arch/powerpc/perf/
Dhv-24x7.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 #define pr_fmt(fmt) "hv-24x7: " fmt
21 #include <asm/papr-sysparm.h>
25 #include "hv-24x7.h"
26 #include "hv-24x7-catalog.h"
27 #include "hv-common.h"
43 #include "hv-24x7-domains.h" in domain_is_valid()
57 #include "hv-24x7-domains.h" in is_physical_domain()
77 * chip details through the get-system-parameter rtas call.
96 int ntypes = be16_to_cpup((__be16 *)&buf->val[0]); in read_24x7_sys_info()
[all …]
/Linux-v6.6/tools/testing/selftests/ftrace/test.d/dynevent/
Dadd_remove_eprobe.tc2 # SPDX-License-Identifier: GPL-2.0
3 # description: Generic dynamic event - add/remove eprobe events
4 # requires: dynamic_events events/syscalls/sys_enter_openat "<attached-group>.<attached-event> [<ar…
11 EVENT="sys_enter_openat"
15 echo "e:$EPROBE $SYSTEM/$EVENT $OPTIONS" >> dynamic_events
17 grep -q "$EPROBE" dynamic_events
18 test -d events/eprobes/$EPROBE
24 content=`grep '^ *ls-' trace | grep 'file='`
25 nocontent=`grep '^ *ls-' trace | grep 'file=' | grep -v -e '"/' -e '"."' -e '(fault)' ` || true
27 if [ -z "$content" ]; then
[all …]
/Linux-v6.6/drivers/char/tpm/eventlog/
Dtpm1.c1 // SPDX-License-Identifier: GPL-2.0-or-later
13 * Maintained by: <tpmdd-devel@lists.sourceforge.net>
15 * Access to the event log created by a system's firmware / BIOS
37 "EVENT TAG",
38 "S-CRTM Contents",
39 "S-CRTM Version",
46 "Non-Host Code",
47 "Non-Host Config",
48 "Non-Host Info"
63 "S-CRTM Version",
[all …]
/Linux-v6.6/drivers/perf/
Darm_dmc620_pmu.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * ARM DMC-620 memory controller PMU driver
40 * The PMU registers start at 0xA00 in the DMC-620 memory map, and these
50 (DMC620_PMU_CLKDIV2_MAX_COUNTERS - 1)
53 (DMC620_PMU_CLK_MAX_COUNTERS - 1)
121 return sysfs_emit(page, "event=0x%x,clkdiv2=0x%x\n", eattr->eventid, eattr->clkdiv2); in dmc620_pmu_event_show()
168 .name = "events",
193 (lo) == (hi) ? #cfg ":" #lo "\n" : #cfg ":" #lo "-" #hi
198 #define GEN_PMU_FORMAT_ATTR(name) \ argument
199 PMU_FORMAT_ATTR(name, \
[all …]
Dthunderx2_pmu.c1 // SPDX-License-Identifier: GPL-2.0
28 #define GET_EVENTID(ev, mask) ((ev->hw.config) & mask)
29 #define GET_COUNTERID(ev, mask) ((ev->hw.idx) & mask)
31 * Event id is encoded in bits [5:1] of a byte,
49 /* L3C event IDs */
60 /* DMC event IDs */
88 * L3C have 4 32-bit counters and the CCPI2 has 8 64-bit counters.
94 char *name; member
111 void (*init_cntr_base)(struct perf_event *event,
113 void (*stop_event)(struct perf_event *event);
[all …]
/Linux-v6.6/tools/perf/scripts/python/
Dnetdev-times.py2 # SPDX-License-Identifier: GPL-2.0
17 '/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
24 all_event_list = []; # insert all tracepoint event related with this script
27 net_rx_dic = {}; # key is cpu and value include time of NET_RX softirq-entry
48 dev = 0; # store a name of device specified by option "dev="
61 return (dst - src) / 1000000.0
80 PF_NET_RECV= " |---netif_receive_skb(+%.3fmsec skb=%x len=%d)"
81 PF_NET_RX= " |---netif_rx(+%.3fmsec skb=%x)"
96 if irq_list[i]['name'].find(dev) >= 0:
109 irq_list[i]['irq'], irq_list[i]['name']))
[all …]
/Linux-v6.6/drivers/s390/net/
Dfsm.h1 /* SPDX-License-Identifier: GPL-2.0 */
53 * Element of State/Event history used for debugging.
57 int event; member
67 char name[16]; member
79 * Description of a state-event combination
100 * @param name Name of this instance for logging purposes.
110 init_fsm(char *name, const char **state_names,
127 fsm_record_history(fsm_instance *fi, int state, int event);
131 * Emits an event to a FSM.
132 * If an action function is defined for the current state/event combination,
[all …]
/Linux-v6.6/Documentation/ABI/testing/
Dsysfs-class-devfreq-event1 What: /sys/class/devfreq-event/event<x>/
5 Provide a place in sysfs for the devfreq-event objects.
6 This allows accessing various devfreq-event specific variables.
7 The name of devfreq-event object denoted as 'event<x>' which
8 includes the unique number of 'x' for each devfreq-event object.
10 What: /sys/class/devfreq-event/event<x>/name
14 The /sys/class/devfreq-event/event<x>/name attribute contains
15 the name of the devfreq-event object. This attribute is
16 read-only.
18 What: /sys/class/devfreq-event/event<x>/enable_count
[all …]
/Linux-v6.6/Documentation/input/
Devent-codes.rst1 .. _input-event-codes:
4 Input event codes
12 A single hardware event generates multiple input events. Each input event
13 contains the new value of a single data item. A special event type, EV_SYN, is
15 the same moment in time. In the following, the term "event" refers to a single
16 input event encompassing a type, code, and value.
19 of event codes have changed. However, the state is maintained within the Linux
22 event code values using the EVIOCG* ioctls defined in linux/input.h. The event
24 class/input/event*/device/capabilities/, and the properties of a device are
25 provided in class/input/event*/device/properties.
[all …]

12345678910>>...44