Function report | 
Source Code:arch\x86\kernel\cpu\resctrl\ctrlmondata.c | 
Create Date:2022-07-28 08:13:05 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:rdtgroup_mondata_show
Proto:int rdtgroup_mondata_show(struct seq_file *m, void *arg)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct seq_file * | m | |
| void * | arg | 
| 522 | ret = 0 | 
| 524 | rdtgrp = rdtgroup_kn_lock_live( published fields ) | 
| 525 | If Not rdtgrp Then | 
| 535 | r = rdt_resources_all[resid] | 
| 537 | If IS_ERR_OR_NULL(d) Then | 
| 542 | mon_event_read( & rr, d, rdtgrp, evtid, false) | 
| 544 | If val & RMID_VAL_ERROR Then seq_puts(m, "Error\n") | 
| 546 | Else if val & RMID_VAL_UNAVAIL Then seq_puts(m, "Unavailable\n") | 
| 548 | Else seq_printf(m, "%llu\n", val * mon_scale) | 
| 551 | out : | 
| 553 | Return ret | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |