Home
last modified time | relevance | path

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

12345678910>>...47

/kernel/linux/linux-6.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>
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 <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 …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-5.10/kernel/trace/
Dtrace_events_synth.c1 // SPDX-License-Identifier: GPL-2.0
3 * trace_events_synth - synthetic trace events
25 C(BAD_NAME, "Illegal name"), \
27 C(EVENT_EXISTS, "Event already exists"), \
56 strncpy(last_cmd, str, MAX_FILTER_STR_VAL - 1); in last_cmd_set()
69 static bool synth_event_match(const char *system, const char *event,
82 return ev->ops == &synth_event_ops; in is_synth_event()
92 struct synth_event *event = to_synth_event(ev); in synth_event_is_busy() local
94 return event->ref != 0; in synth_event_is_busy()
97 static bool synth_event_match(const char *system, const char *event, in synth_event_match() argument
[all …]
/kernel/linux/linux-6.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 …]
/kernel/liteos_a/apps/perf/src/
Dperf_list.c2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
3 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
15 * 3. Neither the name of the copyright holder nor the names of its contributors may be used
22 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
37 "[Hardware event]",
38 "[Timed event]",
39 "[Software event]",
45 .name = "cycles",
46 .event = PERF_COUNT_HW_CPU_CYCLES,
50 .name = "instruction",
[all …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-5.10/tools/perf/tests/
Dpmu-events.c1 // SPDX-License-Identifier: GPL-2.0
3 #include "parse-events.h"
11 #include "../pmu-events/pmu-events.h"
14 #include "util/parse-events.h"
17 struct pmu_event event; member
32 .event = {
33 .name = "bp_l1_btb_correct",
34 .event = "event=0x8a",
38 .alias_str = "event=0x8a",
42 .event = {
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/devfreq/event/
Dexynos-ppmu.txt9 The Exynos PPMU driver uses the devfreq-event class to provide event data
10 to various devfreq devices. The devfreq devices would use the event data when
14 - compatible: Should be "samsung,exynos-ppmu" or "samsung,exynos-ppmu-v2.
15 - reg: physical base address of each PPMU and length of memory mapped region.
18 - clock-names : the name of clock used by the PPMU, "ppmu"
19 - clocks : phandles for clock specified in "clock-names" property
22 - event-name : the unique event name among PPMU device
24 - event-data-type : Define the type of data which shell be counted
25 by the counter. You can check include/dt-bindings/pmu/exynos_ppmu.h for
33 compatible = "samsung,exynos-ppmu";
[all …]
/kernel/linux/linux-5.10/include/linux/
Dtrace_events.h1 /* SPDX-License-Identifier: GPL-2.0 */
57 struct trace_event *event);
62 * The trace entry - the most basic unit of tracing. This is what
65 * bash-15816 [01] 235.197585: idle_cpu <- irq_enter
75 ((1 << (sizeof(((struct trace_entry *)0)->type) * 8)) - 1)
78 * Trace iterator - used by printout routines who present trace
126 int flags, struct trace_event *event);
142 extern int register_trace_event(struct trace_event *event);
143 extern int unregister_trace_event(struct trace_event *event);
177 int trace_output_call(struct trace_iterator *iter, char *name, char *fmt, ...);
[all …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-5.10/tools/perf/util/
Dbpf-event.c1 // SPDX-License-Identifier: GPL-2.0
12 #include "bpf-event.h"
22 #include "util/synthetic-events.h"
32 ret += snprintf(buf + ret, size - ret, "%02x", data[i]); in snprintf_hex()
37 union perf_event *event, in machine__process_bpf_event_load() argument
42 struct perf_env *env = machine->env; in machine__process_bpf_event_load()
43 int id = event->bpf.id; in machine__process_bpf_event_load()
46 /* perf-record, no need to handle bpf-event */ in machine__process_bpf_event_load()
53 info_linear = info_node->info_linear; in machine__process_bpf_event_load()
55 for (i = 0; i < info_linear->info.nr_jited_ksyms; i++) { in machine__process_bpf_event_load()
[all …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-5.10/tools/lib/traceevent/
Devent-parse.c1 // SPDX-License-Identifier: LGPL-2.1
8 * - Copyright (C) 2009 Frederic Weisbecker,
24 #include "event-parse.h"
26 #include "event-parse-local.h"
27 #include "event-utils.h"
28 #include "trace-seq.h"
45 #define do_warning_event(event, fmt, ...) \ argument
50 if (event) \
51 warning("[%s:%s] " fmt, event->system, \
52 event->name, ##__VA_ARGS__); \
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.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 …]

12345678910>>...47