Home
last modified time | relevance | path

Searched refs:riscv_pmu (Results 1 – 4 of 4) sorted by relevance

/linux/arch/riscv/kernel/
A Dperf_event.c35 static const struct riscv_pmu *riscv_pmu __read_mostly;
144 if (config >= riscv_pmu->max_events) in riscv_map_hw_event()
147 return riscv_pmu->hw_events[config]; in riscv_map_hw_event()
163 if (!riscv_pmu->cache_events || err) in riscv_map_cache_event()
259 riscv_pmu->pmu->read(event); in riscv_pmu_stop()
355 if (riscv_pmu->irq >= 0 && riscv_pmu->handle_irq) { in reserve_pmc_hardware()
356 err = request_irq(riscv_pmu->irq, riscv_pmu->handle_irq, in reserve_pmc_hardware()
367 if (riscv_pmu->irq >= 0) in release_pmc_hardware()
368 free_irq(riscv_pmu->irq, NULL); in release_pmc_hardware()
472 riscv_pmu = &riscv_base_pmu; in init_hw_perf_events()
[all …]
/linux/Documentation/translations/zh_CN/riscv/
A Dpmu.rst53 *riscv_pmu* 是一个类型为 *struct riscv_pmu* 的全局指针,它包含了根据perf内部
55 下, *riscv_pmu* 指向一个常量结构体 *riscv_base_pmu* ,它对基准QEMU模型有非常
59 然后他/她可以将实例的指针分配给 *riscv_pmu* ,这样就可以利用已经实现的最小逻
74 制寄存器或计数器进行操作。该翻译基于 *riscv_pmu* 中提供的映射和方法。
211 * struct riscv_pmu: arch/riscv/include/asm/perf_event.h
218 *struct riscv_pmu* 定义了PMU的具体参数。 命名遵循所有其它架构的惯例。
/linux/Documentation/riscv/
A Dpmu.rst46 *riscv_pmu* is a global pointer of type *struct riscv_pmu*, which contains
49 *riscv_pmu* points to a constant structure *riscv_base_pmu*, which has very
52 Then he/she can either assign the instance's pointer to *riscv_pmu* so that
74 *riscv_pmu*.
228 * struct riscv_pmu: arch/riscv/include/asm/perf_event.h
236 *struct riscv_pmu* defines PMU-specific parameters. The naming follows the
/linux/arch/riscv/include/asm/
A Dperf_event.h54 struct riscv_pmu { struct

Completed in 6 milliseconds