/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | db-export.c | 38 if (evsel->db_id) in db_export__evsel() 41 evsel->db_id = ++dbe->evsel_last_db_id; in db_export__evsel() 51 if (machine->db_id) in db_export__machine() 54 machine->db_id = ++dbe->machine_last_db_id; in db_export__machine() 67 if (thread->db_id) in db_export__thread() 70 thread->db_id = ++dbe->thread_last_db_id; in db_export__thread() 73 main_thread_db_id = main_thread->db_id; in db_export__thread() 85 comm->db_id = ++dbe->comm_last_db_id; in __db_export__comm() 96 if (comm->db_id) in db_export__comm() 113 if (comm->db_id) in db_export__exec_comm() 136 u64 db_id; db_export__comm_thread() local 196 u64 *db_id = symbol__priv(al->sym); db_ids_from_al() local 524 db_export__pid_tid(struct db_export *dbe, struct machine *machine, pid_t pid, pid_t tid, u64 *db_id, struct comm **comm_ptr, bool *is_idle) db_export__pid_tid() argument 563 u64 db_id; db_export__switch() local [all...] |
H A D | db-export.h | 30 u64 db_id; member 48 int (*export_comm_thread)(struct db_export *dbe, u64 db_id, 60 int (*export_context_switch)(struct db_export *dbe, u64 db_id,
|
H A D | comm.h | 18 u64 db_id; member
|
H A D | call-path.h | 20 * @db_id: id used for db-export 32 u64 db_id; member
|
H A D | thread-stack.h | 48 * @call_ref: external reference to 'call' sample (e.g. db_id) 49 * @return_ref: external reference to 'return' sample (e.g. db_id) 50 * @db_id: id used for db-export 65 u64 db_id; member
|
H A D | thread-stack.c | 43 * @ref: external reference (e.g. db_id of sample) 47 * @db_id: id used for db-export 60 u64 db_id; member 307 .db_id = 0, in thread_stack__call_return() 318 cr.db_id = tse->db_id; in thread_stack__call_return() 329 * The parent db_id must be assigned before exporting the child. Note in thread_stack__call_return() 333 parent_db_id = idx ? &(tse - 1)->db_id : NULL; in thread_stack__call_return() 808 tse->db_id = 0; in thread_stack__push_cp()
|
H A D | call-path.c | 20 cp->db_id = 0; in call_path__init()
|
H A D | thread.h | 50 u64 db_id; member
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | db-export.c | 38 if (evsel->db_id) in db_export__evsel() 41 evsel->db_id = ++dbe->evsel_last_db_id; in db_export__evsel() 51 if (machine->db_id) in db_export__machine() 54 machine->db_id = ++dbe->machine_last_db_id; in db_export__machine() 85 comm->db_id = ++dbe->comm_last_db_id; in __db_export__comm() 96 if (comm->db_id) in db_export__comm() 113 if (comm->db_id) in db_export__exec_comm() 136 u64 db_id; in db_export__comm_thread() local 138 db_id = ++dbe->comm_thread_last_db_id; in db_export__comm_thread() 141 return dbe->export_comm_thread(dbe, db_id, com in db_export__comm_thread() 196 u64 *db_id = symbol__priv(al->sym); db_ids_from_al() local 528 db_export__pid_tid(struct db_export *dbe, struct machine *machine, pid_t pid, pid_t tid, u64 *db_id, struct comm **comm_ptr, bool *is_idle) db_export__pid_tid() argument 567 u64 db_id; db_export__switch() local [all...] |
H A D | thread.h | 52 u64 db_id; in DECLARE_RC_STRUCT() local 239 return RC_CHK_ACCESS(thread)->db_id; in thread__db_id() 242 static inline void thread__set_db_id(struct thread *thread, u64 db_id) in thread__set_db_id() argument 244 RC_CHK_ACCESS(thread)->db_id = db_id; in thread__set_db_id()
|
H A D | db-export.h | 30 u64 db_id; member 48 int (*export_comm_thread)(struct db_export *dbe, u64 db_id, 60 int (*export_context_switch)(struct db_export *dbe, u64 db_id,
|
H A D | call-path.h | 20 * @db_id: id used for db-export 32 u64 db_id; member
|
H A D | comm.h | 18 u64 db_id; member
|
H A D | thread-stack.h | 47 * @call_ref: external reference to 'call' sample (e.g. db_id) 48 * @return_ref: external reference to 'return' sample (e.g. db_id) 49 * @db_id: id used for db-export 64 u64 db_id; member
|
H A D | thread-stack.c | 43 * @ref: external reference (e.g. db_id of sample) 47 * @db_id: id used for db-export 60 u64 db_id; member 307 .db_id = 0, in thread_stack__call_return() 318 cr.db_id = tse->db_id; in thread_stack__call_return() 329 * The parent db_id must be assigned before exporting the child. Note in thread_stack__call_return() 333 parent_db_id = idx ? &(tse - 1)->db_id : NULL; in thread_stack__call_return() 809 tse->db_id = 0; in thread_stack__push_cp()
|
H A D | call-path.c | 20 cp->db_id = 0; in call_path__init()
|
/kernel/linux/linux-6.6/drivers/accel/ivpu/ |
H A D | ivpu_jsm_msg.c | 10 int ivpu_jsm_register_db(struct ivpu_device *vdev, u32 ctx_id, u32 db_id, in ivpu_jsm_register_db() argument 17 req.payload.register_db.db_idx = db_id; in ivpu_jsm_register_db() 25 ivpu_err(vdev, "Failed to register doorbell %d: %d\n", db_id, ret); in ivpu_jsm_register_db() 29 ivpu_dbg(vdev, JSM, "Doorbell %d registered to context %d\n", db_id, ctx_id); in ivpu_jsm_register_db() 34 int ivpu_jsm_unregister_db(struct ivpu_device *vdev, u32 db_id) in ivpu_jsm_unregister_db() argument 40 req.payload.unregister_db.db_idx = db_id; in ivpu_jsm_unregister_db() 45 ivpu_warn(vdev, "Failed to unregister doorbell %d: %d\n", db_id, ret); in ivpu_jsm_unregister_db() 49 ivpu_dbg(vdev, JSM, "Doorbell %d unregistered\n", db_id); in ivpu_jsm_unregister_db()
|
H A D | ivpu_jsm_msg.h | 11 int ivpu_jsm_register_db(struct ivpu_device *vdev, u32 ctx_id, u32 db_id, 13 int ivpu_jsm_unregister_db(struct ivpu_device *vdev, u32 db_id);
|
H A D | ivpu_hw.h | 24 void (*reg_db_set)(struct ivpu_device *vdev, u32 db_id); 128 static inline void ivpu_hw_reg_db_set(struct ivpu_device *vdev, u32 db_id) in ivpu_hw_reg_db_set() argument 130 vdev->hw->ops->reg_db_set(vdev, db_id); in ivpu_hw_reg_db_set()
|
H A D | ivpu_job.c | 33 ivpu_hw_reg_db_set(vdev, cmdq->db_id); in ivpu_cmdq_ring_db() 50 cmdq->db_id = file_priv->ctx.id + engine * ivpu_get_context_count(vdev); in ivpu_cmdq_alloc() 95 ret = ivpu_jsm_register_db(vdev, file_priv->ctx.id, cmdq->db_id, in ivpu_cmdq_acquire() 114 ivpu_jsm_unregister_db(file_priv->vdev, cmdq->db_id); in ivpu_cmdq_release_locked() 191 job->file_priv->ctx.id, job->engine_idx, cmdq->db_id, header->head, tail); in ivpu_cmdq_push_job()
|
H A D | ivpu_job.h | 22 * @db_id: Doorbell assigned to this job queue 29 u32 db_id; member
|
/kernel/linux/linux-5.10/tools/perf/util/scripting-engines/ |
H A D | trace-event-python.c | 986 tuple_set_d64(t, 0, evsel->db_id); in python_export_evsel() 1004 tuple_set_d64(t, 0, machine->db_id); in python_export_machine() 1023 tuple_set_d64(t, 0, thread->db_id); in python_export_thread() 1024 tuple_set_d64(t, 1, machine->db_id); in python_export_thread() 1044 tuple_set_d64(t, 0, comm->db_id); in python_export_comm() 1046 tuple_set_d64(t, 2, thread->db_id); in python_export_comm() 1057 static int python_export_comm_thread(struct db_export *dbe, u64 db_id, in python_export_comm_thread() argument 1065 tuple_set_d64(t, 0, db_id); in python_export_comm_thread() 1066 tuple_set_d64(t, 1, comm->db_id); in python_export_comm_thread() 1067 tuple_set_d64(t, 2, thread->db_id); in python_export_comm_thread() 1262 python_export_context_switch(struct db_export *dbe, u64 db_id, struct machine *machine, struct perf_sample *sample, u64 th_out_id, u64 comm_out_id, u64 th_in_id, u64 comm_in_id, int flags) python_export_context_switch() argument [all...] |
/kernel/linux/linux-6.6/tools/perf/util/scripting-engines/ |
H A D | trace-event-python.c | 1141 tuple_set_d64(t, 0, evsel->db_id); in python_export_evsel() 1159 tuple_set_d64(t, 0, machine->db_id); in python_export_machine() 1179 tuple_set_d64(t, 1, machine->db_id); in python_export_thread() 1199 tuple_set_d64(t, 0, comm->db_id); in python_export_comm() 1212 static int python_export_comm_thread(struct db_export *dbe, u64 db_id, in python_export_comm_thread() argument 1220 tuple_set_d64(t, 0, db_id); in python_export_comm_thread() 1221 tuple_set_d64(t, 1, comm->db_id); in python_export_comm_thread() 1242 tuple_set_d64(t, 0, dso->db_id); in python_export_dso() 1243 tuple_set_d64(t, 1, machine->db_id); in python_export_dso() 1265 tuple_set_d64(t, 1, dso->db_id); in python_export_symbol() 1418 python_export_context_switch(struct db_export *dbe, u64 db_id, struct machine *machine, struct perf_sample *sample, u64 th_out_id, u64 comm_out_id, u64 th_in_id, u64 comm_in_id, int flags) python_export_context_switch() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wwan/iosm/ |
H A D | iosm_ipc_imem.h | 466 * @db_id: Doorbell ID for trigger identifier. 471 int channel_id, u32 db_id);
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc_fwif.h | 185 u16 db_id; member
|