Home
last modified time | relevance | path

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

12345678910>>...25

/linux/drivers/s390/scsi/
H A 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 …]
/linux/tools/perf/
H A 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'")
36 #include "util/synthetic-events.h"
42 #include <subcmd/exec-cmd.h>
49 #include <subcmd/parse-options.h>
55 #include "util/trace.h"
[all …]
/linux/net/ipv6/
H A 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/arch/x86/mm/
H A 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/kernel/trace/
H A Dtrace.h1 // SPDX-License-Identifier: GPL-2.0
14 #include <linux/trace.h>
106 #define FTRACE_ENTRY(name, struct_name, id, tstruct, print) \ argument
113 #define FTRACE_ENTRY_DUP(name, name_struct, id, tstruct, printk) argument
116 #define FTRACE_ENTRY_REG(name, struct_name, id, tstruct, print, regfn) \ argument
117 FTRACE_ENTRY(name, struct_name, id, PARAMS(tstruct), PARAMS(print))
120 #define FTRACE_ENTRY_PACKED(name, struct_name, id, tstruct, print) \ argument
121 FTRACE_ENTRY(name, struct_name, id, PARAMS(tstruct), PARAMS(print)) __packed
184 * The CPU trace array - it consists of thousands of trace entries
186 * the trace, etc.)
[all …]
H A Dtrace_syscalls.c1 // SPDX-License-Identifier: GPL-2.0
2 #include <trace/syscall.h>
3 #include <trace/events/syscalls.h>
15 #include "trace.h"
17 static DEFINE_MUTEX(syscall_trace_lock);
19 static int syscall_enter_register(struct trace_event_call *event,
21 static int syscall_exit_register(struct trace_event_call *event,
24 static struct list_head *
27 struct syscall_metadata *entry = call->data; in syscall_get_enter_fields()
29 return &entry->enter_fields; in syscall_get_enter_fields()
[all …]
/linux/drivers/hwtracing/coresight/
H A 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 …]
H A Dcoresight-ctcu-core.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
19 #include "coresight-ctcu.h"
20 #include "coresight-priv.h"
24 #define ctcu_writel(drvdata, val, offset) __raw_writel((val), drvdata->base + offset)
25 #define ctcu_readl(drvdata, offset) __raw_readl(drvdata->base + offset)
29 * filter function based on the trace ID for each TMC ETR sink. The length of each
30 * ATID register is 32 bits. Therefore, an ETR device has a 128-bit long field
31 * in CTCU. Each trace ID is represented by one bit in that filed.
34 * ------------------------------------------------------
[all …]
H A Dcoresight-etm4x-core.c1 // SPDX-License-Identifier: GPL-2.0
27 #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 …]
H A 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 …]
H A Dcoresight-tpda.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2023-2025 Qualcomm Innovation Center, Inc. All rights reserved.
18 #include "coresight-priv.h"
19 #include "coresight-tpda.h"
20 #include "coresight-trace-id.h"
21 #include "coresight-tpdm.h"
25 static void tpda_clear_element_size(struct coresight_device *csdev) in tpda_clear_element_size()
27 struct tpda_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in tpda_clear_element_size()
29 drvdata->dsb_esize = 0; in tpda_clear_element_size()
30 drvdata->cmb_esize = 0; in tpda_clear_element_size()
[all …]
H A Dcoresight-dummy.c1 // SPDX-License-Identifier: GPL-2.0
13 #include "coresight-priv.h"
14 #include "coresight-trace-id.h"
25 static int dummy_source_enable(struct coresight_device *csdev, in dummy_source_enable()
30 return -EBUSY; in dummy_source_enable()
32 dev_dbg(csdev->dev.parent, "Dummy source enabled\n"); in dummy_source_enable()
37 static void dummy_source_disable(struct coresight_device *csdev, in dummy_source_disable()
41 dev_dbg(csdev->dev.parent, "Dummy source disabled\n"); in dummy_source_disable()
44 static int dummy_source_trace_id(struct coresight_device *csdev, __maybe_unused enum cs_mode mode, in dummy_source_trace_id()
49 drvdata = dev_get_drvdata(csdev->dev.parent); in dummy_source_trace_id()
[all …]
/linux/fs/squashfs/
H A 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/tools/perf/util/
H A 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 …]
H A 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 …]
H A Dpowerpc-vpadtl.c1 // SPDX-License-Identifier: GPL-2.0
16 #include "powerpc-vpadtl.h"
89 * Function to dump the dispatch trace data when perf report
90 * is invoked with -D
92 static void powerpc_vpadtl_dump(struct powerpc_vpadtl *vpa __maybe_unused, in powerpc_vpadtl_dump()
104 len = len - (len % dtl_entry_size); in powerpc_vpadtl_dump()
111 if (dtl->timebase != 0) { in powerpc_vpadtl_dump()
115 dispatch_reasons[dtl->dispatch_reason], in powerpc_vpadtl_dump()
116 preempt_reasons[dtl->preempt_reason], in powerpc_vpadtl_dump()
117 be32_to_cpu(dtl->enqueue_to_dispatch_time), in powerpc_vpadtl_dump()
[all …]
/linux/tools/verification/rv/src/
H A Din_kernel.c1 // SPDX-License-Identifier: GPL-2.0
3 * in kernel monitor support: allows rv to control in-kernel monitors.
15 #include <trace.h>
19 static int config_has_id;
20 static int config_is_container;
21 static int config_my_pid;
22 static int config_trace;
24 static char *config_initial_reactor;
25 static char *config_reactor;
28 * __ikm_read_enable - reads monitor's enable status
[all …]
/linux/arch/powerpc/perf/
H A 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/Documentation/trace/coresight/
H A Dcoresight-perf.rst1 .. SPDX-License-Identifier: GPL-2.0
4 CoreSight - Perf
10 Perf is able to locally access CoreSight trace data and store it to the
15 perf record -e cs_etm//u testbinary
18 a perf.data trace file. That file would have AUX sections if CoreSight
22 perf report --stdio --dump -i perf.data
26 …ERF_RECORD_AUXTRACE size: 0x11dd0 offset: 0 ref: 0x1b614fc1061b0ad1 idx: 0 tid: 531230 cpu: -1
28 . ... CoreSight ETM Trace data: size 73168 bytes
29 Idx:0; ID:10; I_ASYNC : Alignment Synchronisation.
30 Idx:12; ID:10; I_TRACE_INFO : Trace Info.; INFO=0x0 { CC.0 }
[all …]
/linux/drivers/remoteproc/
H A Dremoteproc_debugfs.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * Ohad Ben-Cohen <ohad@wizery.com>
12 * Suman Anna <s-anna@ti.com>
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/drivers/tty/serial/
H A Dicom.c1 // SPDX-License-Identifier: GPL-2.0+
45 /*#define ICOM_TRACE enable port trace capabilities */
50 static const unsigned int icom_acfg_baud[] = {
73 #define BAUD_TABLE_LIMIT (ARRAY_SIZE(icom_acfg_baud) - 1)
80 u32 int_reg_b; /* Adapter non-masked Interrupt */
88 u32 int_reg_2b; /* Adapter non-masked 2 */
92 u32 reserved[108]; /* 0-1B0 reserved by personality code */
93 u32 RcvStatusAddr; /* 1B0-1B3 Status Address for Next rcv */
98 u32 XmitStatusAddr; /* 1B8-1BB Transmit Status Address */
103 u32 reserved3; /* 1C0-1C3 Reserved */
[all …]
/linux/drivers/hwtracing/intel_th/
H A Dintel_th.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Intel(R) Trace Hub data structures
5 * Copyright (C) 2014-2015 Intel Corporation.
15 /* Devices that generate trace data */
19 /* Switch, the Global Trace Hub (GTH) */
26 * struct intel_th_output - descriptor INTEL_TH_OUTPUT type devices
48 * struct intel_th_drvdata - describes hardware capabilities and quirks
61 #define INTEL_TH_CAP(_th, _cap) ((_th)->drvdata ? (_th)->drvdata->_cap : 0)
64 * struct intel_th_device - device on the intel_th bus
70 * @id: device instance or -1
[all …]
H A Dacpi.c1 // SPDX-License-Identifier: GPL-2.0
3 * Intel(R) Trace Hub ACPI driver
21 static const struct intel_th_drvdata intel_th_acpi_pch = {
25 static const struct intel_th_drvdata intel_th_acpi_uncore = {
29 static const struct acpi_device_id intel_th_acpi_ids[] = {
37 static int intel_th_acpi_probe(struct platform_device *pdev) in intel_th_acpi_probe()
39 struct acpi_device *adev = ACPI_COMPANION(&pdev->dev); in intel_th_acpi_probe()
41 const struct acpi_device_id *id; in intel_th_acpi_probe() local
45 id = acpi_match_device(intel_th_acpi_ids, &pdev->dev); in intel_th_acpi_probe()
46 if (!id) in intel_th_acpi_probe()
[all …]
/linux/drivers/acpi/acpica/
H A Dutdebug.c1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0
4 * Module Name: utdebug - Debug print/trace routines
6 * Copyright (C) 2000 - 2025, Intel Corp.
20 static acpi_thread_id acpi_gbl_previous_thread_id = (acpi_thread_id) 0xFFFFFFFF;
21 static const char *acpi_gbl_function_entry_prefix = "----Entry";
22 static const char *acpi_gbl_function_exit_prefix = "----Exit-";
42 #pragma GCC diagnostic ignored "-Wdangling-pointer=" in acpi_ut_init_stack_ptr_trace()
67 #pragma GCC diagnostic ignored "-Wdangling-pointer=" in acpi_ut_track_stack_ptr()
82 * PARAMETERS: function_name - Ascii string containing a procedure name
92 static const char *acpi_ut_trim_function_name(const char *function_name) in acpi_ut_trim_function_name()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dcoredump.h1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */
9 struct trace { struct
10 u32 id; argument
21 /* time-of-day stamp */
23 /* time-o
11 timestamptrace global() argument
[all...]

12345678910>>...25