Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_events_filter.c Create Date:2022-07-28 12:24:36
Last Modify:2022-05-22 20:19:57 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Filter predicate for CPUs.

Proto:static int filter_pred_cpu(struct filter_pred *pred, void *event)

Type:int

Parameter:

TypeParameterName
struct filter_pred *pred
void *event
714  cpu = These macros fold the SMP functionality into a single CPU system()
715  cmp = val
718  Case op == OP_EQ
719  Return cpu == cmp
720  Case op == OP_NE
721  Return cpu != cmp
722  Case op == OP_LT
723  Return cpu < cmp
724  Case op == OP_LE
725  Return cpu <= cmp
726  Case op == OP_GT
727  Return cpu > cmp
728  Case op == OP_GE
729  Return cpu >= cmp
730  Default
731  Return 0