diff options
author | Tejun Heo <[email protected]> | 2015-08-18 14:55:15 -0700 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2015-08-18 15:49:17 -0700 |
commit | 814376483e7d85b69a70634633f1f9d01c6ee0cf (patch) | |
tree | 04d6f2749e947f348a184e75e7bf1bea9ff7d163 /tools/perf/util/trace-event-scripting.c | |
parent | a9520cd6f2ac1fbbf206b915946534c6dddbaae2 (diff) |
blkcg: minor updates around blkcg_policy_data
* Rename blkcg->pd[] to blkcg->cpd[] so that cpd is consistently used
for blkcg_policy_data.
* Make blkcg_policy->cpd_init_fn() take blkcg_policy_data instead of
blkcg. This makes it consistent with blkg_policy_data methods and
to-be-added cpd alloc/free methods.
* blkcg_policy_data->blkcg and cpd_to_blkcg() added so that
cpd_init_fn() can determine the associated blkcg from
blkcg_policy_data.
v2: blkcg_policy_data->blkcg initializations were missing. Added.
Signed-off-by: Tejun Heo <[email protected]>
Cc: Vivek Goyal <[email protected]>
Cc: Arianna Avanzini <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions