Home
last modified time | relevance | path

Searched refs:iocg (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/block/
Dblk-iocost.c195 #define TRACE_IOCG_PATH(type, iocg, ...) \ argument
200 cgroup_path(iocg_to_blkg(iocg)->blkcg->css.cgroup, \
202 trace_iocost_##type(iocg, trace_iocg_path, \
209 #define TRACE_IOCG_PATH(type, iocg, ...) do { } while (0) argument
573 struct ioc_gq *iocg; member
689 static struct blkcg_gq *iocg_to_blkg(struct ioc_gq *iocg) in iocg_to_blkg() argument
691 return pd_to_blkg(&iocg->pd); in iocg_to_blkg()
717 static void iocg_commit_bio(struct ioc_gq *iocg, struct bio *bio, in iocg_commit_bio() argument
723 atomic64_add(cost, &iocg->vtime); in iocg_commit_bio()
725 gcs = get_cpu_ptr(iocg->pcpu_stat); in iocg_commit_bio()
[all …]
/Linux-v6.6/include/trace/events/
Diocost.h16 TP_PROTO(struct ioc_gq *iocg, const char *path, struct ioc_now *now,
19 TP_ARGS(iocg, path, now, last_period, cur_period, vtime),
22 __string(devname, ioc_name(iocg->ioc))
37 __assign_str(devname, ioc_name(iocg->ioc));
41 __entry->vrate = iocg->ioc->vtime_base_rate;
45 __entry->weight = iocg->weight;
46 __entry->inuse = iocg->inuse;
47 __entry->hweight_active = iocg->hweight_active;
48 __entry->hweight_inuse = iocg->hweight_inuse;
63 TP_PROTO(struct ioc_gq *iocg, const char *path, struct ioc_now *now,
[all …]
/Linux-v6.6/tools/cgroup/
Diocost_monitor.py144 def __init__(self, iocg): argument
145 ioc = iocg.ioc
146 blkg = iocg.pd.blkg
148 self.is_active = not list_empty(iocg.active_list.address_of_())
149 self.weight = iocg.weight.value_() / WEIGHT_ONE
150 self.active = iocg.active.value_() / WEIGHT_ONE
151 self.inuse = iocg.inuse.value_() / WEIGHT_ONE
152 self.hwa_pct = iocg.hweight_active.value_() * 100 / WEIGHT_ONE
153 self.hwi_pct = iocg.hweight_inuse.value_() * 100 / WEIGHT_ONE
154 self.address = iocg.value_()
[all …]