mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 03:24:45 +01:00
platform/x86: intel_telemetry: Remove unused telemetry_raw_read_events()
telemetry_raw_read_events() was added by the commit 378f956e3f
("platform/x86: Add Intel Telemetry Core Driver") in 2016 but has
remained unused.
Remove it.
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Link: https://lore.kernel.org/r/20250608012512.377134-4-linux@treblig.org
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
This commit is contained in:
parent
b35b9fb28c
commit
097cd6d6c9
2 changed files with 0 additions and 22 deletions
|
|
@ -87,9 +87,6 @@ int telemetry_get_evtname(enum telemetry_unit telem_unit,
|
|||
int telemetry_read_events(enum telemetry_unit telem_unit,
|
||||
struct telemetry_evtlog *evtlog, int len);
|
||||
|
||||
int telemetry_raw_read_events(enum telemetry_unit telem_unit,
|
||||
struct telemetry_evtlog *evtlog, int len);
|
||||
|
||||
int telemetry_read_eventlog(enum telemetry_unit telem_unit,
|
||||
struct telemetry_evtlog *evtlog, int len);
|
||||
|
||||
|
|
|
|||
|
|
@ -72,25 +72,6 @@ int telemetry_read_events(enum telemetry_unit telem_unit,
|
|||
}
|
||||
EXPORT_SYMBOL_GPL(telemetry_read_events);
|
||||
|
||||
/**
|
||||
* telemetry_raw_read_events() - Fetch samples specified by evtlog.telem_evt_id
|
||||
* @telem_unit: Specify whether IOSS or PSS Read
|
||||
* @evtlog: Array of telemetry_evtlog structs to fill data
|
||||
* evtlog.telem_evt_id specifies the ids to read
|
||||
* @len: Length of array of evtlog
|
||||
*
|
||||
* The caller must take care of locking in this case.
|
||||
*
|
||||
* Return: number of eventlogs read for success, < 0 for failure
|
||||
*/
|
||||
int telemetry_raw_read_events(enum telemetry_unit telem_unit,
|
||||
struct telemetry_evtlog *evtlog, int len)
|
||||
{
|
||||
return telm_core_conf.telem_ops->raw_read_eventlog(telem_unit, evtlog,
|
||||
len, 0);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(telemetry_raw_read_events);
|
||||
|
||||
/**
|
||||
* telemetry_read_eventlog() - Fetch the Telemetry log from PSS or IOSS
|
||||
* @telem_unit: Specify whether IOSS or PSS Read
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue