ihk_os_setperfevent: Return number of registered events
In addition to that, mcctrl_perf_set is modified so that it updates usrdata->perf_event_num with number of registered events. Change-Id: I3f343176f55b06d3baab0b0fe34e240f39706cf6 Fujitsu: POSTK_DEBUG_TEMP_FIX_80
This commit is contained in:
committed by
Masamichi Takagi
parent
24a3b236a0
commit
fd8bed670e
@ -533,6 +533,7 @@ enum perf_ctrl_type {
|
||||
|
||||
struct perf_ctrl_desc {
|
||||
enum perf_ctrl_type ctrl_type;
|
||||
int err;
|
||||
union {
|
||||
/* for SET, GET */
|
||||
struct {
|
||||
|
||||
Reference in New Issue
Block a user