mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 01:04:41 +01:00
Add dump to get-perf-domains, so that a user can fetch either information about a specific performance domain with do or information about all performance domains with dump. Share the reply format of do and dump using perf-domain-attrs, so remove perf-domains. The YNL spec, autogenerated files, and the do implementation are updated, and the dump implementation is added. Suggested-by: Donald Hunter <donald.hunter@gmail.com> Reviewed-by: Lukasz Luba <lukasz.luba@arm.com> Reviewed-by: Donald Hunter <donald.hunter@gmail.com> Signed-off-by: Changwoo Min <changwoo@igalia.com> Link: https://patch.msgid.link/20260108053212.642478-5-changwoo@igalia.com Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
28 lines
883 B
C
28 lines
883 B
C
/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
|
|
/* Do not edit directly, auto-generated from: */
|
|
/* Documentation/netlink/specs/dev-energymodel.yaml */
|
|
/* YNL-GEN kernel header */
|
|
/* To regenerate run: tools/net/ynl/ynl-regen.sh */
|
|
|
|
#ifndef _LINUX_DEV_ENERGYMODEL_GEN_H
|
|
#define _LINUX_DEV_ENERGYMODEL_GEN_H
|
|
|
|
#include <net/netlink.h>
|
|
#include <net/genetlink.h>
|
|
|
|
#include <uapi/linux/dev_energymodel.h>
|
|
|
|
int dev_energymodel_nl_get_perf_domains_doit(struct sk_buff *skb,
|
|
struct genl_info *info);
|
|
int dev_energymodel_nl_get_perf_domains_dumpit(struct sk_buff *skb,
|
|
struct netlink_callback *cb);
|
|
int dev_energymodel_nl_get_perf_table_doit(struct sk_buff *skb,
|
|
struct genl_info *info);
|
|
|
|
enum {
|
|
DEV_ENERGYMODEL_NLGRP_EVENT,
|
|
};
|
|
|
|
extern struct genl_family dev_energymodel_nl_family;
|
|
|
|
#endif /* _LINUX_DEV_ENERGYMODEL_GEN_H */
|