Home
last modified time | relevance | path

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

12345678910>>...44

/linux-6.14.4/include/rv/
Dda_monitor.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) 2019-2022 Red Hat, Inc. Daniel Bristot de Oliveira <[email protected]>
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 …]
Dautomata.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) 2019-2022 Red Hat, Inc. Daniel Bristot de Oliveira <[email protected]>
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-6.14.4/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-6.14.4/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"), \
84 static bool synth_event_match(const char *system, const char *event,
97 return ev->ops == &synth_event_ops; in is_synth_event()
107 struct synth_event *event = to_synth_event(ev); in synth_event_is_busy() local
109 return event->ref != 0; in synth_event_is_busy()
[all …]
/linux-6.14.4/Documentation/trace/
Duser_events.rst2 user_events: User-based Event Tracing
8 --------
20 requires CAP_PERFMON due to the event persisting, otherwise -EPERM is returned.
25 enabled the event and data should be written. The registration will give back
36 -----------
59 /* Input: Pointer to string with event name, description and flags */
62 /* Output: Index of the event to use when writing data */
70 + enable_bit: The bit to reflect the event status at the address specified by
74 This must be 4 (32-bit) or 8 (64-bit). 64-bit values are only allowed to be
75 used on 64-bit kernels, however, 32-bit can be used on all kernels.
[all …]
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
72 The above will enable any system or event that ``<match>`` matches. If
[all …]
/linux-6.14.4/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-6.14.4/include/linux/
Dtrace_events.h1 /* SPDX-License-Identifier: GPL-2.0 */
20 /* Used for event string fields when they are NULL */
61 struct trace_event *event);
77 * The trace entry - the most basic unit of tracing. This is what
80 * bash-15816 [01] 235.197585: idle_cpu <- irq_enter
90 ((1 << (sizeof(((struct trace_entry *)0)->type) * 8)) - 1)
93 * Trace iterator - used by printout routines who present trace
145 int flags, struct trace_event *event);
160 extern int register_trace_event(struct trace_event *event);
161 extern int unregister_trace_event(struct trace_event *event);
[all …]
/linux-6.14.4/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-6.14.4/tools/perf/pmu-events/
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-6.14.4/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-6.14.4/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 <[email protected]>
11 - Krzysztof Kozlowski <[email protected]>
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-6.14.4/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-6.14.4/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-6.14.4/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-6.14.4/include/trace/events/
Dasoc.h1 /* SPDX-License-Identifier: GPL-2.0 */
14 #define DAPM_ARROW(dir) (((dir) == SND_SOC_DAPM_DIR_OUT) ? "->" : "<-")
30 __string( card_name, dapm->card->name)
31 __string( comp_name, dapm->component ? dapm->component->name : "(none)")
38 __entry->val = val;
42 __get_str(card_name), __get_str(comp_name), (int)__entry->val)
63 TP_PROTO(struct snd_soc_card *card, int event),
65 TP_ARGS(card, event),
68 __string( name, card->name )
69 __field( int, event )
[all …]
/linux-6.14.4/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 <event-parse.h>
[all …]
/linux-6.14.4/drivers/char/tpm/eventlog/
Dtpm1.c1 // SPDX-License-Identifier: GPL-2.0-or-later
13 * Maintained by: <tpmdd-[email protected]>
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-6.14.4/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 …]
/linux-6.14.4/samples/cgroup/
Dmemcg_event_listener.c1 // SPDX-License-Identifier: GPL-2.0
3 * memcg_event_listener.c - Simple listener of memcg memory.events
26 #define INOTIFY_EVENT_NEXT(event, length) ({ \ argument
27 (length) -= sizeof(*(event)) + (event)->len; \
28 (event)++; \
31 #define INOTIFY_EVENT_OK(event, length) ((length) >= (ssize_t)sizeof(*(event))) argument
54 printf("\tlow: %ld\n", counters->low); in print_memcg_counters()
55 printf("\thigh: %ld\n", counters->high); in print_memcg_counters()
56 printf("\tmax: %ld\n", counters->max); in print_memcg_counters()
57 printf("\toom: %ld\n", counters->oom); in print_memcg_counters()
[all …]
/linux-6.14.4/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-6.14.4/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-6.14.4/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