Home
last modified time | relevance | path

Searched +full:static +full:- +full:trace +full:- +full:id (Results 1 – 25 of 823) sorted by relevance

12345678910>>...33

/linux-6.14.4/drivers/s390/scsi/
Dzfcp_dbf.h1 /* SPDX-License-Identifier: GPL-2.0 */
28 * struct zfcp_dbf_rec_trigger - trace record for triggered recovery action
42 * struct zfcp_dbf_rec_running - trace record for running recovery
43 * @fsf_req_id: request id for fsf requests
58 * enum zfcp_dbf_rec_id - recovery trace record id
68 * struct zfcp_dbf_rec - trace record for error recovery actions
69 * @id: unique number of recovery record type
73 * @d_id: destination ID
82 u8 id; member
97 * enum zfcp_dbf_san_id - SAN trace record identifier
[all …]
Dzfcp_dbf.c1 // SPDX-License-Identifier: GPL-2.0
21 static u32 dbfsize = 4;
27 static u32 dbflevel = 3;
34 static inline unsigned int zfcp_dbf_plen(unsigned int offset) in zfcp_dbf_plen()
36 return sizeof(struct zfcp_dbf_pay) + offset - ZFCP_DBF_PAY_MAX_REC; in zfcp_dbf_plen()
39 static inline
43 struct zfcp_dbf_pay *pl = &dbf->pay_buf; in zfcp_dbf_pl_write()
46 spin_lock(&dbf->pay_lock); in zfcp_dbf_pl_write()
48 pl->fsf_req_id = req_id; in zfcp_dbf_pl_write()
49 memcpy(pl->area, area, ZFCP_DBF_TAG_LEN); in zfcp_dbf_pl_write()
[all …]
/linux-6.14.4/kernel/bpf/
Dstackmap.c1 // SPDX-License-Identifier: GPL-2.0-only
34 static inline bool stack_map_use_build_id(struct bpf_map *map) in stack_map_use_build_id()
36 return (map->map_flags & BPF_F_STACK_BUILD_ID); in stack_map_use_build_id()
39 static inline int stack_map_data_size(struct bpf_map *map) in stack_map_data_size()
45 static int prealloc_elems_and_freelist(struct bpf_stack_map *smap) in prealloc_elems_and_freelist()
48 (u64)smap->map.value_size; in prealloc_elems_and_freelist()
51 smap->elems = bpf_map_area_alloc(elem_size * smap->map.max_entries, in prealloc_elems_and_freelist()
52 smap->map.numa_node); in prealloc_elems_and_freelist()
53 if (!smap->elems) in prealloc_elems_and_freelist()
54 return -ENOMEM; in prealloc_elems_and_freelist()
[all …]
/linux-6.14.4/net/ipv6/
Dioam6.c1 // SPDX-License-Identifier: GPL-2.0+
23 static void ioam6_ns_release(struct ioam6_namespace *ns) in ioam6_ns_release()
28 static void ioam6_sc_release(struct ioam6_schema *sc) in ioam6_sc_release()
33 static void ioam6_free_ns(void *ptr, void *arg) in ioam6_free_ns()
41 static void ioam6_free_sc(void *ptr, void *arg) in ioam6_free_sc()
49 static int ioam6_ns_cmpfn(struct rhashtable_compare_arg *arg, const void *obj) in ioam6_ns_cmpfn()
53 return (ns->id != *(__be16 *)arg->key); in ioam6_ns_cmpfn()
56 static int ioam6_sc_cmpfn(struct rhashtable_compare_arg *arg, const void *obj) in ioam6_sc_cmpfn()
60 return (sc->id != *(u32 *)arg->key); in ioam6_sc_cmpfn()
63 static const struct rhashtable_params rht_ns_params = {
[all …]
/linux-6.14.4/tools/perf/
Dbuiltin-trace.c2 * builtin-trace.c
4 * Builtin 'trace' command:
6 * Display a continuously updated trace of any workload, CPU, specific PID,
8 * event may be specified using --event.
12 * Initially based on the 'trace' prototype by Thomas Gleixner:
14 * http://lwn.net/Articles/415728/ ("Announcing a new utility: 'trace'")
39 #include "util/synthetic-events.h"
44 #include <subcmd/exec-cmd.h>
51 #include <subcmd/parse-options.h>
58 #include "trace/beauty/beauty.h"
[all …]
/linux-6.14.4/drivers/hwtracing/coresight/
Dcoresight-trace-id.h1 /* SPDX-License-Identifier: GPL-2.0 */
11 * Coresight trace ID allocation API
13 * With multi cpu systems, and more additional trace sources a scalable
14 * trace ID reservation system is required.
19 * In order to ensure that a consistent cpu / ID matching is maintained
20 * throughout a perf cs_etm event session - a session in progress flag will be
22 * complete. This allows the same CPU to be re-allocated its prior ID when
26 * Trace ID maps will be created and initialised to prevent architecturally
29 * API permits multiple maps to be maintained - for large systems where
30 * different sets of cpus trace into different independent sinks.
[all …]
Dcoresight-etm-perf.c1 // SPDX-License-Identifier: GPL-2.0
9 #include <linux/coresight-pmu.h>
16 #include <linux/percpu-defs.h>
22 #include "coresight-config.h"
23 #include "coresight-etm-perf.h"
24 #include "coresight-priv.h"
25 #include "coresight-syscfg.h"
26 #include "coresight-trace-id.h"
28 static struct pmu etm_pmu;
29 static bool etm_perf_up;
[all …]
Dcoresight-etm3x-core.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2011-2012, The Linux Foundation. All rights reserved.
5 * Description: CoreSight Program Flow Trace driver
25 #include <linux/coresight-pmu.h>
33 #include "coresight-etm.h"
34 #include "coresight-etm-perf.h"
35 #include "coresight-trace-id.h"
41 static int boot_enable;
44 static struct etm_drvdata *etmdrvdata[NR_CPUS];
46 static enum cpuhp_state hp_online;
[all …]
Dcoresight-trace-id.c1 // SPDX-License-Identifier: GPL-2.0
7 #include <linux/coresight-pmu.h>
13 #include "coresight-trace-id.h"
21 /* Default trace ID map. Used in sysfs mode and for system sources */
22 static DEFINE_PER_CPU(atomic_t, id_map_default_cpu_ids) = ATOMIC_INIT(0);
23 static struct coresight_trace_id_map id_map_default = {
31 static void coresight_trace_id_dump_table(struct coresight_trace_id_map *id_map, in coresight_trace_id_dump_table()
35 pr_debug("Used = %*pb\n", CORESIGHT_TRACE_IDS_MAX, id_map->used_ids); in coresight_trace_id_dump_table()
38 #define DUMP_ID_CPU(cpu, id) pr_debug("%s called; cpu=%d, id=%d\n", __func__, cpu, id) argument
39 #define DUMP_ID(id) pr_debug("%s called; id=%d\n", __func__, id) argument
[all …]
Dcoresight-etm4x-core.c1 // SPDX-License-Identifier: GPL-2.0
26 #include <linux/coresight-pmu.h>
35 #include <linux/clk/clk-conf.h>
43 #include "coresight-etm4x.h"
44 #include "coresight-etm-perf.h"
45 #include "coresight-etm4x-cfg.h"
46 #include "coresight-self-hosted-trace.h"
47 #include "coresight-syscfg.h"
48 #include "coresight-trace-id.h"
50 static int boot_enable;
[all …]
/linux-6.14.4/drivers/gpu/drm/imagination/
Dpvr_fw_trace.c1 // SPDX-License-Identifier: GPL-2.0-only OR MIT
19 static void
26 tracebuf_ctrl->tracebuf_size_in_dwords = ROGUE_FW_TRACE_BUF_DEFAULT_SIZE_IN_DWORDS; in tracebuf_ctrl_init()
27 tracebuf_ctrl->tracebuf_flags = 0; in tracebuf_ctrl_init()
29 if (fw_trace->group_mask) in tracebuf_ctrl_init()
30 tracebuf_ctrl->log_type = fw_trace->group_mask | ROGUE_FWIF_LOG_TYPE_TRACE; in tracebuf_ctrl_init()
32 tracebuf_ctrl->log_type = ROGUE_FWIF_LOG_TYPE_NONE; in tracebuf_ctrl_init()
34 for (thread_nr = 0; thread_nr < ARRAY_SIZE(fw_trace->buffers); thread_nr++) { in tracebuf_ctrl_init()
36 &tracebuf_ctrl->tracebuf[thread_nr]; in tracebuf_ctrl_init()
37 struct pvr_fw_trace_buffer *trace_buffer = &fw_trace->buffers[thread_nr]; in tracebuf_ctrl_init()
[all …]
/linux-6.14.4/arch/x86/mm/
Dmmio-mod.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * Derived from the read-mod example from relay-examples by Tom Zanussi.
38 unsigned long id; member
41 /* Accessed per-cpu. */
42 static DEFINE_PER_CPU(struct trap_reason, pf_reason);
43 static DEFINE_PER_CPU(struct mmiotrace_rw, cpu_trace);
45 static DEFINE_MUTEX(mmiotrace_mutex);
46 static DEFINE_SPINLOCK(trace_lock);
47 static atomic_t mmiotrace_enabled;
48 static LIST_HEAD(trace_list); /* struct remap_trace */
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/arm/
Darm,coresight-dummy-source.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/arm/arm,coresight-dummy-source.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
12 SoCs tracing needs. These trace components can generally be classified as
13 sinks, links and sources. Trace data produced by one or more sources flows
19 there would be Coresight source trace components on sub-processor which
30 - Mike Leach <[email protected]>
31 - Suzuki K Poulose <[email protected]>
32 - James Clark <[email protected]>
[all …]
Darm,coresight-static-replicator.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/arm/arm,coresight-static-replicator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Arm CoreSight Static Trace Bus Replicator
10 - Mathieu Poirier <[email protected]>
11 - Mike Leach <[email protected]>
12 - Leo Yan <[email protected]>
13 - Suzuki K Poulose <[email protected]>
18 SoCs tracing needs. These trace components can generally be classified as
[all …]
Darm,coresight-static-funnel.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/arm/arm,coresight-static-funnel.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Arm CoreSight Static Trace Bus Funnel
10 - Mathieu Poirier <[email protected]>
11 - Mike Leach <[email protected]>
12 - Leo Yan <[email protected]>
13 - Suzuki K Poulose <[email protected]>
18 SoCs tracing needs. These trace components can generally be classified as
[all …]
/linux-6.14.4/kernel/trace/
Dtrace_syscalls.c1 // SPDX-License-Identifier: GPL-2.0
2 #include <trace/syscall.h>
3 #include <trace/events/syscalls.h>
14 #include "trace.h"
16 static DEFINE_MUTEX(syscall_trace_lock);
18 static int syscall_enter_register(struct trace_event_call *event,
20 static int syscall_exit_register(struct trace_event_call *event,
23 static struct list_head *
26 struct syscall_metadata *entry = call->data; in syscall_get_enter_fields()
28 return &entry->enter_fields; in syscall_get_enter_fields()
[all …]
Dtrace.h1 // SPDX-License-Identifier: GPL-2.0
14 #include <linux/trace.h>
104 #define FTRACE_ENTRY(name, struct_name, id, tstruct, print) \ argument
111 #define FTRACE_ENTRY_DUP(name, name_struct, id, tstruct, printk) argument
114 #define FTRACE_ENTRY_REG(name, struct_name, id, tstruct, print, regfn) \ argument
115 FTRACE_ENTRY(name, struct_name, id, PARAMS(tstruct), PARAMS(print))
118 #define FTRACE_ENTRY_PACKED(name, struct_name, id, tstruct, print) \ argument
119 FTRACE_ENTRY(name, struct_name, id, PARAMS(tstruct), PARAMS(print)) __packed
180 * The CPU trace array - it consists of thousands of trace entries
182 * the trace, etc.)
[all …]
/linux-6.14.4/fs/squashfs/
Dsuper.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Squashfs - a compressed read only filesystem for Linux
13 * in-memory structures at mount time, and all the VFS glue code to register
40 static struct file_system_type squashfs_fs_type;
41 static const struct super_operations squashfs_super_ops;
59 static const struct constant_table squashfs_param_errors[] = {
65 static const struct fs_parameter_spec squashfs_fs_parameters[] = {
72 static int squashfs_parse_param_threads_str(const char *str, struct squashfs_mount_opts *opts) in squashfs_parse_param_threads_str()
76 opts->thread_ops = &squashfs_decompressor_single; in squashfs_parse_param_threads_str()
80 opts->thread_ops = &squashfs_decompressor_multi; in squashfs_parse_param_threads_str()
[all …]
/linux-6.14.4/tools/perf/util/
Dcs-etm.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright(C) 2015-2018 Linaro Limited.
12 #include <linux/coresight-pmu.h>
22 #include "cs-etm.h"
23 #include "cs-etm-decoder/cs-etm-decoder.h"
37 #include "thread-stack.h"
40 #include "util/synthetic-events.h"
52 * Timeless has no timestamps in the trace so overlapping mmap lookups
53 * are less accurate but produces smaller trace data. We use context IDs
54 * in the trace instead of matching timestamps with fork records so
[all …]
Dcs-etm.h1 /* SPDX-License-Identifier: GPL-2.0 */
24 /* PMU->type (32 bit), total # of CPUs (32 bit) */
40 * CoreSight Trace ID. ...TRACEIDR metadata will be set to legacy values
49 /* Number of trace config params in following ETM specific block */
65 /* define fixed version 0 length - allow new format reader to read old files. */
66 #define CS_ETM_NR_TRC_PARAMS_V0 (CS_ETM_ETMIDR - CS_ETM_ETMCR + 1)
83 /* define fixed version 0 length - allow new format reader to read old files. */
84 #define CS_ETMV4_NR_TRC_PARAMS_V0 (CS_ETMV4_TRCAUTHSTATUS - CS_ETMV4_TRCCONFIGR + 1)
106 * Check for valid CoreSight trace ID. If an invalid value is present in the metadata,
107 * then IDs are present in the hardware ID packet in the data file.
[all …]
/linux-6.14.4/tools/verification/rv/src/
Din_kernel.c1 // SPDX-License-Identifier: GPL-2.0
3 * in kernel monitor support: allows rv to control in-kernel monitors.
13 #include <trace.h>
17 static int config_has_id;
18 static int config_my_pid;
19 static int config_trace;
21 static char *config_initial_reactor;
22 static char *config_reactor;
25 * __ikm_read_enable - reads monitor's enable status
29 * Returns the current status, or -1 if the monitor does not exist,
[all …]
/linux-6.14.4/tools/testing/selftests/net/
Dioam6_parser.c1 // SPDX-License-Identifier: GPL-2.0+
20 __u32 id; member
34 * Be careful if you modify structs below - everything MUST be kept synchronized
38 static struct ioam_config node1 = {
39 .id = 1,
48 .sc_data = "something that will be 4n-aligned",
52 static struct ioam_config node2 = {
53 .id = 2,
244 static int check_header(int tid, struct ioam6_trace_hdr *trace, in check_header() argument
247 if (__be16_to_cpu(trace->namespace_id) != ioam_ns || in check_header()
[all …]
/linux-6.14.4/arch/powerpc/perf/
Dimc-pmu.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * In-Memory Collection (IMC) Performance Monitor counter support.
13 #include <asm/imc-pmu.h>
22 * Used to avoid races in counting the nest-pmu units during hotplug
25 static DEFINE_MUTEX(nest_init_lock);
26 static DEFINE_PER_CPU(struct imc_pmu_ref *, local_nest_imc_refc);
27 static struct imc_pmu **per_nest_pmu_arr;
28 static cpumask_t nest_imc_cpumask;
29 static struct imc_pmu_ref *nest_imc_refc;
30 static int nest_pmus;
[all …]
/linux-6.14.4/drivers/remoteproc/
Dremoteproc_debugfs.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * Ohad Ben-Cohen <[email protected]>
12 * Suman Anna <s-[email protected]>
28 static struct dentry *rproc_dbg;
31 * A coredump-configuration-to-string lookup table, for exposing a
35 static const char * const rproc_coredump_str[] = {
42 static ssize_t rproc_coredump_read(struct file *filp, char __user *userbuf, in rproc_coredump_read()
45 struct rproc *rproc = filp->private_data; in rproc_coredump_read()
50 rproc_coredump_str[rproc->dump_conf]); in rproc_coredump_read()
71 static ssize_t rproc_coredump_write(struct file *filp, in rproc_coredump_write()
[all …]
/linux-6.14.4/drivers/staging/media/atomisp/pci/runtime/debug/src/
Dia_css_debug.c1 // SPDX-License-Identifier: GPL-2.0
96 static struct pipe_graph_class {
105 static const char *const queue_id_to_str[] = {
116 static const char *const pipe_id_to_str[] = {
124 static char dot_id_input_bin[SH_CSS_MAX_BINARY_NAME + 10];
125 static char ring_buffer[200];
147 static const char *debug_stream_format2str(const enum atomisp_input_format in debug_stream_format2str()
152 return "yuv420-8-legacy"; in debug_stream_format2str()
154 return "yuv420-8"; in debug_stream_format2str()
156 return "yuv420-10"; in debug_stream_format2str()
[all …]

12345678910>>...33