Function report |
Source Code:kernel\trace\trace.c |
Create Date:2022-07-28 12:00:44 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:tracing_cpumask_write
Proto:static ssize_t tracing_cpumask_write(struct file *filp, const char __user *ubuf, size_t count, loff_t *ppos)
Type:ssize_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct file * | filp | |
const char __user * | ubuf | |
size_t | count | |
loff_t * | ppos |
4563 | tr = s or device private pointer |
4567 | If Not alloc_cpumask_var( & tracing_cpumask_new, GFP_KERNEL) Then Return -ENOMEM |
4570 | err = pumask_parse_user - extract a cpumask from a user string*@buf: the buffer to extract from*@len: the length of the buffer*@dstp: the cpumask to set.* Returns -errno, or 0 for success. |
4571 | If err Then Go to err_unlock |
4574 | local_irq_disable() |
4576 | for_each_tracing_cpu(cpu) |
4583 | atomic_inc( & disabled) |
4598 | Return count |
4600 | err_unlock : |
4603 | Return err |
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 |