Function report |
Source Code:kernel\trace\trace_hwlat.c |
Create Date:2022-07-28 12:10:57 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:hwlat_width_write - Write function for "width" entry*@filp: The active open file structure*@ubuf: The user buffer that contains the value to write*@cnt: The maximum number of bytes to write to "file"*@ppos: The current position in @file* This function
Proto:static ssize_t hwlat_width_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos)
Type:ssize_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct file * | filp | |
| const char __user * | ubuf | |
| size_t | cnt | |
| loff_t * | ppos |
| 453 | err = kstrtoull_from_user(ubuf, cnt, 10, & val) |
| 457 | mutex_lock( & protect changes ) |
| 458 | If val < al sampling window (on+off) Then active sampling portion of window = val |
| 467 | Return cnt |
| 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 |