Function report |
Source Code:kernel\trace\trace_probe.c |
Create Date:2022-07-28 12:42:53 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Bitfield type needs to be parsed into a fetch function
Proto:static int __parse_bitfield_probe_arg(const char *bf, const struct fetch_type *t, struct fetch_insn **pcode)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const char * | bf | |
| const struct fetch_type * | t | |
| struct fetch_insn ** | pcode |
| 516 | If bf != 'b' Then Return 0 |
| 529 | code++ |
| 530 | If op != FETCH_OP_NOP Then Return -EINVAL |
| 535 | lshift = BYTES_TO_BITS(Byte size of type ) - bw + bo |
| 536 | rshift = BYTES_TO_BITS(Byte size of type ) - bw |
| 537 | basesize = Byte size of type |
| 539 | Return If BYTES_TO_BITS(Byte size of type ) < bw + bo Then -EINVAL Else 0 |
| Name | Describe |
|---|---|
| traceprobe_parse_probe_arg_body | String length checking wrapper |
| 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 |