From 7108d9d0e5f2ff1a531dd36714c68a330ba84823 Mon Sep 17 00:00:00 2001 From: Todd Kjos Date: Wed, 31 Aug 2022 15:59:29 -0700 Subject: [PATCH] ANDROID: remove inclusions from hook definition headers To avoid changing the visibiliy of data types when including hook definition headers remove header file inclusions from the hook definition header files. Instead, the hook definition headers should just have forward declarations that don't require full definition. To provide full definitions of the types for the KMI, the headers that define the types should be included by the source file that instantiates the hooks - normally vendor_hooks.c. Since the KMI is frozen, some of the inclusions are still required to preserve the CRC associated with symbols. Keep these inclusions under #ifdef __GENKSYMS__. This patch results in 17 fewer opaque types in the KMI (80 vs 97). Of the remaining 80 opaque types, 50 are defined in C files (and therefore are truly opaque and cannot be used by vendor modules). That leaves 30 types that still need definition in the KMI. Bug: 233047575 Signed-off-by: Todd Kjos Change-Id: Ibc1173eb4b07fcec21c7abd8e0ab1950b3fb5b34 --- android/abi_gki_aarch64.xml | 6902 ++++++++++++++++++++------- drivers/android/vendor_hooks.c | 22 + include/trace/hooks/binder.h | 14 +- include/trace/hooks/block.h | 9 - include/trace/hooks/cgroup.h | 10 +- include/trace/hooks/cpufreq.h | 9 +- include/trace/hooks/cpuidle.h | 5 - include/trace/hooks/cpuidle_psci.h | 6 +- include/trace/hooks/creds.h | 8 +- include/trace/hooks/debug.h | 5 - include/trace/hooks/dtask.h | 12 +- include/trace/hooks/fault.h | 6 +- include/trace/hooks/fips140.h | 5 - include/trace/hooks/ftrace_dump.h | 5 +- include/trace/hooks/gic_v3.h | 8 +- include/trace/hooks/gpiolib.h | 5 + include/trace/hooks/gup.h | 5 - include/trace/hooks/logbuf.h | 5 - include/trace/hooks/mm.h | 20 +- include/trace/hooks/mmc_core.h | 9 - include/trace/hooks/mpam.h | 6 +- include/trace/hooks/net.h | 14 +- include/trace/hooks/pci.h | 3 + include/trace/hooks/pm_domain.h | 6 +- include/trace/hooks/power.h | 13 +- include/trace/hooks/psi.h | 6 +- include/trace/hooks/remoteproc.h | 5 - include/trace/hooks/rwsem.h | 6 +- include/trace/hooks/sched.h | 16 +- include/trace/hooks/shmem_fs.h | 6 +- include/trace/hooks/signal.h | 6 +- include/trace/hooks/softlockup.h | 6 +- include/trace/hooks/sys.h | 6 +- include/trace/hooks/syscall_check.h | 8 +- include/trace/hooks/thermal.h | 6 +- include/trace/hooks/topology.h | 5 + include/trace/hooks/traps.h | 6 +- include/trace/hooks/ufshcd.h | 9 - include/trace/hooks/usb.h | 8 +- include/trace/hooks/user.h | 6 +- include/trace/hooks/v4l2core.h | 10 +- include/trace/hooks/v4l2mc.h | 8 +- include/trace/hooks/workqueue.h | 6 +- 43 files changed, 5268 insertions(+), 1973 deletions(-) diff --git a/android/abi_gki_aarch64.xml b/android/abi_gki_aarch64.xml index ac5b15015083..1b628cab49f8 100644 --- a/android/abi_gki_aarch64.xml +++ b/android/abi_gki_aarch64.xml @@ -3964,7 +3964,7 @@ - + @@ -4115,16 +4115,16 @@ - + - + - + - + @@ -4219,6 +4219,14 @@ + + + + + + + + @@ -4356,7 +4364,20 @@ - + + + + + + + + + + + + + + @@ -4433,7 +4454,7 @@ - + @@ -4468,7 +4489,7 @@ - + @@ -4891,7 +4912,7 @@ - + @@ -4923,11 +4944,60 @@ - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -5061,6 +5131,14 @@ + + + + + + + + @@ -5150,6 +5228,7 @@ + @@ -5180,6 +5259,14 @@ + + + + + + + + @@ -5337,9 +5424,12 @@ - + + + + @@ -5403,6 +5493,7 @@ + @@ -5466,6 +5557,7 @@ + @@ -5616,6 +5708,7 @@ + @@ -5762,6 +5855,7 @@ + @@ -6151,6 +6245,7 @@ + @@ -6372,43 +6467,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -6423,6 +6482,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6492,6 +6587,7 @@ + @@ -6912,7 +7008,7 @@ - + @@ -7052,12 +7148,20 @@ + + + + + + + + - + @@ -7310,6 +7414,7 @@ + @@ -7319,6 +7424,23 @@ + + + + + + + + + + + + + + + + + @@ -7585,7 +7707,7 @@ - + @@ -7594,6 +7716,9 @@ + + + @@ -7622,7 +7747,7 @@ - + @@ -7810,6 +7935,12 @@ + + + + + + @@ -8163,6 +8294,17 @@ + + + + + + + + + + + @@ -8290,42 +8432,42 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -8342,7 +8484,19 @@ + + + + + + + + + + + + @@ -8731,7 +8885,7 @@ - + @@ -8789,6 +8943,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + @@ -8858,6 +9036,7 @@ + @@ -9017,6 +9196,7 @@ + @@ -9114,7 +9294,62 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -9144,7 +9379,7 @@ - + @@ -9320,6 +9555,17 @@ + + + + + + + + + + + @@ -9341,6 +9587,14 @@ + + + + + + + + @@ -9357,7 +9611,7 @@ - + @@ -9617,14 +9871,16 @@ + - + + @@ -9712,7 +9968,23 @@ - + + + + + + + + + + + + + + + + + @@ -9844,7 +10116,7 @@ - + @@ -9856,7 +10128,7 @@ - + @@ -9883,10 +10155,10 @@ - + - + @@ -10717,7 +10989,7 @@ - + @@ -10746,52 +11018,60 @@ - - + - - - - - - - + - + + + + + + + + + + + + + + + + - + - + - + - + - + - + - + - + - + - + - + @@ -11305,18 +11585,18 @@ - + - + - + - + - + @@ -11356,7 +11636,7 @@ - + @@ -11404,6 +11684,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -11460,7 +11781,7 @@ - + @@ -11567,7 +11888,7 @@ - + @@ -11629,7 +11950,7 @@ - + @@ -11822,7 +12143,7 @@ - + @@ -12207,7 +12528,7 @@ - + @@ -12644,21 +12965,38 @@ - + - + - + - + - + + + + + + + + + + + + + + + + + + @@ -13031,7 +13369,7 @@ - + @@ -13317,6 +13655,7 @@ + @@ -13335,6 +13674,12 @@ + + + + + + @@ -13386,7 +13731,7 @@ - + @@ -13544,6 +13889,14 @@ + + + + + + + + @@ -13699,6 +14052,29 @@ + + + + + + + + + + + + + + + + + + + + + + + @@ -13752,6 +14128,7 @@ + @@ -13784,7 +14161,65 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -14011,6 +14446,12 @@ + + + + + + @@ -14077,7 +14518,7 @@ - + @@ -14459,6 +14900,10 @@ + + + + @@ -14507,7 +14952,7 @@ - + @@ -14673,6 +15118,12 @@ + + + + + + @@ -14752,9 +15203,12 @@ - + + + + @@ -15328,6 +15782,20 @@ + + + + + + + + + + + + + + @@ -15361,7 +15829,7 @@ - + @@ -15401,11 +15869,12 @@ + - + @@ -15587,6 +16056,7 @@ + @@ -15810,7 +16280,7 @@ - + @@ -15828,39 +16298,39 @@ - + - + - + - + - + - + - + - + - + - + - + - + @@ -16001,6 +16471,8 @@ + + @@ -16221,6 +16693,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -16300,7 +16855,7 @@ - + @@ -16394,7 +16949,7 @@ - + @@ -16790,6 +17345,7 @@ + @@ -17240,7 +17796,194 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -17298,6 +18041,12 @@ + + + + + + @@ -17808,7 +18557,7 @@ - + @@ -17926,6 +18675,7 @@ + @@ -18099,7 +18849,20 @@ - + + + + + + + + + + + + + + @@ -18197,6 +18960,7 @@ + @@ -18768,6 +19532,14 @@ + + + + + + + + @@ -18799,6 +19571,7 @@ + @@ -18841,7 +19614,7 @@ - + @@ -19089,6 +19862,7 @@ + @@ -19416,6 +20190,23 @@ + + + + + + + + + + + + + + + + + @@ -19642,6 +20433,7 @@ + @@ -19888,7 +20680,7 @@ - + @@ -20403,6 +21195,71 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -20512,7 +21369,7 @@ - + @@ -20661,7 +21518,7 @@ - + @@ -20963,13 +21820,21 @@ + + + + + + + + - + @@ -20989,6 +21854,7 @@ + @@ -21073,6 +21939,7 @@ + @@ -21082,7 +21949,7 @@ - + @@ -21101,6 +21968,7 @@ + @@ -21132,6 +22000,20 @@ + + + + + + + + + + + + + + @@ -21437,6 +22319,7 @@ + @@ -21582,6 +22465,16 @@ + + + + + + + + + + @@ -21653,6 +22546,10 @@ + + + + @@ -22039,6 +22936,9 @@ + + + @@ -22112,6 +23012,12 @@ + + + + + + @@ -22122,6 +23028,7 @@ + @@ -22443,6 +23350,7 @@ + @@ -22515,6 +23423,7 @@ + @@ -22855,7 +23764,7 @@ - + @@ -22908,6 +23817,7 @@ + @@ -23087,6 +23997,7 @@ + @@ -23142,6 +24053,12 @@ + + + + + + @@ -23237,6 +24154,11 @@ + + + + + @@ -23336,7 +24258,7 @@ - + @@ -23942,6 +24864,14 @@ + + + + + + + + @@ -24377,6 +25307,7 @@ + @@ -24387,6 +25318,7 @@ + @@ -25290,7 +26222,7 @@ - + @@ -25346,6 +26278,14 @@ + + + + + + + + @@ -25661,6 +26601,29 @@ + + + + + + + + + + + + + + + + + + + + + + + @@ -25670,6 +26633,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -25771,7 +26775,7 @@ - + @@ -26322,27 +27326,27 @@ - + - + - + - + - + - + - + - + @@ -26424,6 +27428,9 @@ + + + @@ -26544,6 +27551,7 @@ + @@ -26748,6 +27756,12 @@ + + + + + + @@ -26867,7 +27881,7 @@ - + @@ -26918,7 +27932,7 @@ - + @@ -26926,6 +27940,9 @@ + + + @@ -27135,7 +28152,7 @@ - + @@ -27181,7 +28198,7 @@ - + @@ -27292,7 +28309,7 @@ - + @@ -27472,6 +28489,23 @@ + + + + + + + + + + + + + + + + + @@ -27492,7 +28526,7 @@ - + @@ -27505,6 +28539,11 @@ + + + + + @@ -27626,6 +28665,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -28098,11 +29169,12 @@ - + + @@ -28437,6 +29509,12 @@ + + + + + + @@ -28466,12 +29544,12 @@ - + - + @@ -28707,6 +29785,10 @@ + + + + @@ -28787,6 +29869,7 @@ + @@ -28797,7 +29880,7 @@ - + @@ -28954,7 +30037,7 @@ - + @@ -29045,6 +30128,14 @@ + + + + + + + + @@ -29098,6 +30189,7 @@ + @@ -29860,6 +30952,12 @@ + + + + + + @@ -30130,7 +31228,7 @@ - + @@ -30183,6 +31281,7 @@ + @@ -30261,7 +31360,7 @@ - + @@ -30312,6 +31411,12 @@ + + + + + + @@ -30584,6 +31689,10 @@ + + + + @@ -30742,6 +31851,7 @@ + @@ -31208,6 +32318,14 @@ + + + + + + + + @@ -31791,6 +32909,10 @@ + + + + @@ -31906,6 +33028,13 @@ + + + + + + + @@ -32333,7 +33462,7 @@ - + @@ -32344,7 +33473,14 @@ - + + + + + + + + @@ -32480,24 +33616,24 @@ - + - + - + - + - + - + - + @@ -32731,7 +33867,7 @@ - + @@ -32906,7 +34042,7 @@ - + @@ -32944,6 +34080,14 @@ + + + + + + + + @@ -33120,7 +34264,7 @@ - + @@ -33340,6 +34484,7 @@ + @@ -33494,7 +34639,22 @@ + + + + + + + + + + + + + + + @@ -33541,18 +34701,18 @@ - + - + - + - + - + @@ -34118,6 +35278,17 @@ + + + + + + + + + + + @@ -34237,7 +35408,7 @@ - + @@ -34303,7 +35474,7 @@ - + @@ -34659,6 +35830,7 @@ + @@ -34759,13 +35931,13 @@ - + - + - + @@ -34789,7 +35961,7 @@ - + @@ -34807,13 +35979,13 @@ - + - + @@ -34822,7 +35994,7 @@ - + @@ -34831,7 +36003,7 @@ - + @@ -35203,6 +36375,14 @@ + + + + + + + + @@ -35474,7 +36654,7 @@ - + @@ -35753,13 +36933,13 @@ - + - + @@ -35777,7 +36957,7 @@ - + @@ -35871,10 +37051,17 @@ + + + + + + + @@ -35980,6 +37167,7 @@ + @@ -36148,6 +37336,7 @@ + @@ -36791,6 +37980,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -36864,6 +38079,7 @@ + @@ -36886,7 +38102,29 @@ - + + + + + + + + + + + + + + + + + + + + + + + @@ -37067,7 +38305,7 @@ - + @@ -37076,7 +38314,7 @@ - + @@ -37535,7 +38773,23 @@ - + + + + + + + + + + + + + + + + + @@ -37813,7 +39067,7 @@ - + @@ -38369,6 +39623,12 @@ + + + + + + @@ -38379,7 +39639,7 @@ - + @@ -39055,6 +40315,7 @@ + @@ -39085,7 +40346,7 @@ - + @@ -39438,6 +40699,14 @@ + + + + + + + + @@ -39689,9 +40958,15 @@ - + + + + + + + @@ -39907,6 +41182,7 @@ + @@ -40058,6 +41334,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -40146,6 +41470,20 @@ + + + + + + + + + + + + + + @@ -40851,7 +42189,7 @@ - + @@ -40917,6 +42255,7 @@ + @@ -41048,6 +42387,29 @@ + + + + + + + + + + + + + + + + + + + + + + + @@ -41373,7 +42735,7 @@ - + @@ -41850,6 +43212,7 @@ + @@ -41966,7 +43329,7 @@ - + @@ -42015,6 +43378,11 @@ + + + + + @@ -42115,7 +43483,35 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -42469,6 +43865,11 @@ + + + + + @@ -42623,7 +44024,7 @@ - + @@ -42639,6 +44040,7 @@ + @@ -43242,6 +44644,7 @@ + @@ -43744,6 +45147,11 @@ + + + + + @@ -43923,6 +45331,7 @@ + @@ -44134,6 +45543,7 @@ + @@ -44396,6 +45806,12 @@ + + + + + + @@ -44612,6 +46028,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -44644,7 +46098,77 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -44684,7 +46208,7 @@ - + @@ -44833,7 +46357,7 @@ - + @@ -45138,6 +46662,9 @@ + + + @@ -46170,6 +47697,13 @@ + + + + + + + @@ -46272,6 +47806,7 @@ + @@ -46424,13 +47959,13 @@ - + - + - + @@ -46439,7 +47974,7 @@ - + @@ -46453,7 +47988,7 @@ - + @@ -46476,7 +48011,7 @@ - + @@ -46522,7 +48057,7 @@ - + @@ -46617,6 +48152,14 @@ + + + + + + + + @@ -47060,6 +48603,10 @@ + + + + @@ -47134,6 +48681,23 @@ + + + + + + + + + + + + + + + + + @@ -47703,7 +49267,7 @@ - + @@ -47816,6 +49380,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -47907,6 +49503,26 @@ + + + + + + + + + + + + + + + + + + + + @@ -47978,6 +49594,14 @@ + + + + + + + + @@ -47995,7 +49619,32 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -48043,6 +49692,20 @@ + + + + + + + + + + + + + + @@ -48487,6 +50150,7 @@ + @@ -48600,7 +50264,7 @@ - + @@ -48763,6 +50427,12 @@ + + + + + + @@ -49168,12 +50838,34 @@ + + + + + + + + + + + + + + + + + + + + + + @@ -49392,7 +51084,7 @@ - + @@ -49530,6 +51222,7 @@ + @@ -49676,7 +51369,29 @@ - + + + + + + + + + + + + + + + + + + + + + + + @@ -50411,7 +52126,7 @@ - + @@ -50453,30 +52168,30 @@ - + - + - + - + - + - + - + - + - + @@ -50877,6 +52592,7 @@ + @@ -51003,7 +52719,7 @@ - + @@ -51142,6 +52858,7 @@ + @@ -51293,7 +53010,7 @@ - + @@ -51329,6 +53046,7 @@ + @@ -51492,7 +53210,146 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -51678,6 +53535,7 @@ + @@ -52104,6 +53962,11 @@ + + + + + @@ -52112,7 +53975,7 @@ - + @@ -52207,6 +54070,14 @@ + + + + + + + + @@ -52357,6 +54228,15 @@ + + + + + + + + + @@ -52515,7 +54395,7 @@ - + @@ -52548,6 +54428,11 @@ + + + + + @@ -52939,6 +54824,20 @@ + + + + + + + + + + + + + + @@ -53127,6 +55026,14 @@ + + + + + + + + @@ -53251,7 +55158,7 @@ - + @@ -53284,10 +55191,10 @@ - + - + @@ -53312,6 +55219,7 @@ + @@ -53480,7 +55388,7 @@ - + @@ -53587,6 +55495,7 @@ + @@ -53809,7 +55718,7 @@ - + @@ -53981,7 +55890,7 @@ - + @@ -54072,7 +55981,7 @@ - + @@ -54090,6 +55999,7 @@ + @@ -54575,10 +56485,15 @@ - + + + + + + @@ -54604,7 +56519,7 @@ - + @@ -55163,7 +57078,7 @@ - + @@ -55171,6 +57086,7 @@ + @@ -55439,7 +57355,20 @@ - + + + + + + + + + + + + + + @@ -55508,7 +57437,7 @@ - + @@ -56010,7 +57939,7 @@ - + @@ -56072,13 +58001,13 @@ - + - + @@ -56230,61 +58159,61 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -56324,7 +58253,7 @@ - + @@ -56374,6 +58303,26 @@ + + + + + + + + + + + + + + + + + + + + @@ -56416,16 +58365,16 @@ - + - + - + - + @@ -56569,7 +58518,53 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -57517,15 +59512,15 @@ - + - + - + - + @@ -57715,6 +59710,9 @@ + + + @@ -57784,6 +59782,13 @@ + + + + + + + @@ -57852,6 +59857,10 @@ + + + + @@ -57966,6 +59975,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -58211,7 +60246,7 @@ - + @@ -58401,72 +60436,72 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -58509,6 +60544,7 @@ + @@ -58528,6 +60564,13 @@ + + + + + + + @@ -58902,7 +60945,7 @@ - + @@ -58981,6 +61024,12 @@ + + + + + + @@ -59210,6 +61259,20 @@ + + + + + + + + + + + + + + @@ -59266,7 +61329,7 @@ - + @@ -59696,7 +61759,7 @@ - + @@ -59768,6 +61831,15 @@ + + + + + + + + + @@ -59778,7 +61850,7 @@ - + @@ -59880,6 +61952,29 @@ + + + + + + + + + + + + + + + + + + + + + + + @@ -59938,6 +62033,29 @@ + + + + + + + + + + + + + + + + + + + + + + + @@ -60097,7 +62215,7 @@ - + @@ -60138,6 +62256,7 @@ + @@ -60281,7 +62400,7 @@ - + @@ -60310,6 +62429,13 @@ + + + + + + + @@ -60348,13 +62474,13 @@ - + - + @@ -60366,7 +62492,7 @@ - + @@ -60625,7 +62751,7 @@ - + @@ -60745,6 +62871,7 @@ + @@ -60930,12 +63057,12 @@ - + - + - + @@ -61112,6 +63239,17 @@ + + + + + + + + + + + @@ -61244,7 +63382,7 @@ - + @@ -61344,7 +63482,191 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -62087,6 +64409,7 @@ + @@ -62331,7 +64654,7 @@ - + @@ -62403,7 +64726,7 @@ - + @@ -62847,6 +65170,7 @@ + @@ -63238,6 +65562,7 @@ + @@ -63289,7 +65614,7 @@ - + @@ -63302,7 +65627,7 @@ - + @@ -63422,7 +65747,7 @@ - + @@ -63541,7 +65866,7 @@ - + @@ -63559,7 +65884,7 @@ - + @@ -63586,7 +65911,7 @@ - + @@ -63834,16 +66159,27 @@ - + - + - + + + + + + + + + + + + @@ -63977,6 +66313,7 @@ + @@ -64244,7 +66581,7 @@ - + @@ -64489,6 +66826,9 @@ + + + @@ -64616,6 +66956,7 @@ + @@ -64739,6 +67080,7 @@ + @@ -64935,6 +67277,7 @@ + @@ -64962,7 +67305,7 @@ - + @@ -65096,25 +67439,25 @@ - + - + - + - + - + - + - + @@ -65267,6 +67610,7 @@ + @@ -65327,7 +67671,7 @@ - + @@ -65396,15 +67740,15 @@ - + - + - + @@ -65464,7 +67808,7 @@ - + @@ -65639,6 +67983,9 @@ + + + @@ -65902,11 +68249,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -66022,7 +68397,7 @@ - + @@ -66067,6 +68442,7 @@ + @@ -66078,6 +68454,7 @@ + @@ -66207,7 +68584,7 @@ - + @@ -66326,6 +68703,10 @@ + + + + @@ -66581,6 +68962,7 @@ + @@ -66692,7 +69074,7 @@ - + @@ -66833,6 +69215,7 @@ + @@ -66847,6 +69230,7 @@ + @@ -66916,7 +69300,7 @@ - + @@ -66983,59 +69367,65 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + @@ -67058,7 +69448,7 @@ - + @@ -67214,7 +69604,7 @@ - + @@ -67400,7 +69790,7 @@ - + @@ -67660,7 +70050,7 @@ - + @@ -67687,7 +70077,7 @@ - + @@ -67698,7 +70088,7 @@ - + @@ -67749,66 +70139,160 @@ - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - - - - + - - - - - - - - - - - - - - - - - + - + - + @@ -67825,23 +70309,23 @@ - + - + - + - + - + @@ -67852,15 +70336,15 @@ - + - + - + - + @@ -67877,7 +70361,7 @@ - + @@ -67885,7 +70369,7 @@ - + @@ -67896,12 +70380,12 @@ - + - + @@ -67909,7 +70393,7 @@ - + @@ -67917,7 +70401,7 @@ - + @@ -67925,7 +70409,7 @@ - + @@ -67933,7 +70417,7 @@ - + @@ -67950,7 +70434,7 @@ - + @@ -67967,21 +70451,21 @@ - + - + - + - + - + - + @@ -67992,7 +70476,7 @@ - + @@ -68000,12 +70484,12 @@ - + - + @@ -68013,7 +70497,7 @@ - + @@ -68024,7 +70508,7 @@ - + @@ -68035,7 +70519,7 @@ - + @@ -68046,12 +70530,12 @@ - + - + - + @@ -68059,13 +70543,13 @@ - + - + - + @@ -68073,7 +70557,7 @@ - + @@ -68081,7 +70565,7 @@ - + @@ -68089,7 +70573,7 @@ - + @@ -68097,7 +70581,7 @@ - + @@ -68108,7 +70592,7 @@ - + @@ -68122,7 +70606,7 @@ - + @@ -68130,7 +70614,7 @@ - + @@ -68138,7 +70622,7 @@ - + @@ -68146,7 +70630,7 @@ - + @@ -68172,12 +70656,12 @@ - + - + @@ -68185,23 +70669,23 @@ - + - + - + - + - + - + - + @@ -68209,7 +70693,7 @@ - + @@ -68235,7 +70719,7 @@ - + @@ -68246,7 +70730,7 @@ - + @@ -68254,7 +70738,7 @@ - + @@ -68262,7 +70746,7 @@ - + @@ -68273,7 +70757,7 @@ - + @@ -68281,7 +70765,7 @@ - + @@ -68292,7 +70776,7 @@ - + @@ -68300,7 +70784,7 @@ - + @@ -68311,7 +70795,7 @@ - + @@ -68322,7 +70806,7 @@ - + @@ -68330,7 +70814,7 @@ - + @@ -68350,19 +70834,19 @@ - + - + - + - - + + @@ -68370,7 +70854,7 @@ - + @@ -68378,7 +70862,7 @@ - + @@ -68386,7 +70870,7 @@ - + @@ -68394,7 +70878,7 @@ - + @@ -68405,15 +70889,15 @@ - + - + - + @@ -68421,15 +70905,15 @@ - + - + - + @@ -68437,7 +70921,7 @@ - + @@ -68445,7 +70929,7 @@ - + @@ -68453,10 +70937,10 @@ - + - + @@ -68464,7 +70948,7 @@ - + @@ -68472,7 +70956,7 @@ - + @@ -68483,7 +70967,7 @@ - + @@ -68494,15 +70978,15 @@ - + - + - + @@ -68510,7 +70994,7 @@ - + @@ -68518,31 +71002,31 @@ - + - + - + - + - + - + - + @@ -68550,33 +71034,33 @@ - + - + - + - + - + - + - + - + - + @@ -68590,7 +71074,7 @@ - + @@ -68598,15 +71082,15 @@ - + - + - + @@ -68614,10 +71098,10 @@ - + - + @@ -68625,15 +71109,15 @@ - + - + - + @@ -68644,7 +71128,7 @@ - + @@ -68652,7 +71136,7 @@ - + @@ -68663,7 +71147,7 @@ - + @@ -68671,15 +71155,15 @@ - + - + - + @@ -68693,31 +71177,31 @@ - + - + - + - + - + - + - + - + @@ -68725,7 +71209,7 @@ - + @@ -68736,7 +71220,7 @@ - + @@ -68744,7 +71228,15 @@ - + + + + + + + + + @@ -68752,7 +71244,7 @@ - + @@ -68760,7 +71252,7 @@ - + @@ -68771,7 +71263,7 @@ - + @@ -68779,7 +71271,7 @@ - + @@ -68787,7 +71279,7 @@ - + @@ -68795,37 +71287,37 @@ - + - + - + - + - + - + - + - + - + - + @@ -68833,7 +71325,7 @@ - + @@ -68841,7 +71333,7 @@ - + @@ -68849,23 +71341,23 @@ - + - + - + - + - + @@ -68873,15 +71365,15 @@ - + - + - + @@ -68889,7 +71381,7 @@ - + @@ -68903,15 +71395,15 @@ - + - + - + - + @@ -68919,7 +71411,7 @@ - + @@ -68933,7 +71425,7 @@ - + @@ -68947,15 +71439,15 @@ - + - + - + @@ -68963,9 +71455,9 @@ - + - + @@ -68977,7 +71469,7 @@ - + @@ -68985,7 +71477,7 @@ - + @@ -68993,12 +71485,12 @@ - + - + - + @@ -69006,15 +71498,15 @@ - + - + - + @@ -69034,7 +71526,7 @@ - + @@ -69042,18 +71534,18 @@ - + - + - + - + - + @@ -69061,7 +71553,7 @@ - + @@ -69069,7 +71561,7 @@ - + @@ -69077,7 +71569,7 @@ - + @@ -69091,7 +71583,7 @@ - + @@ -69111,7 +71603,7 @@ - + @@ -69120,26 +71612,26 @@ - + - + - + - + - + - + @@ -69147,15 +71639,15 @@ - + - + - + @@ -69163,7 +71655,7 @@ - + @@ -69174,7 +71666,7 @@ - + @@ -69182,7 +71674,7 @@ - + @@ -69193,7 +71685,7 @@ - + @@ -69204,7 +71696,7 @@ - + @@ -69218,7 +71710,7 @@ - + @@ -69226,7 +71718,7 @@ - + @@ -69243,7 +71735,7 @@ - + @@ -69251,15 +71743,15 @@ - + - + - + @@ -69267,7 +71759,7 @@ - + @@ -69293,12 +71785,12 @@ - + - + @@ -69339,7 +71831,7 @@ - + @@ -69347,7 +71839,7 @@ - + @@ -69355,7 +71847,7 @@ - + @@ -69363,7 +71855,7 @@ - + @@ -69371,15 +71863,15 @@ - + - + - + - + @@ -69387,7 +71879,7 @@ - + @@ -69395,7 +71887,7 @@ - + @@ -69403,18 +71895,18 @@ - + - + - + - + @@ -69422,32 +71914,32 @@ - + - + - + - + - + - + - + - + - + - + @@ -69455,30 +71947,49 @@ - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + @@ -69486,7 +71997,23 @@ - + + + + + + + + + + + + + + + + + @@ -69497,38 +72024,38 @@ - + - + - + - + - + - + - + - + - + - + - + - + @@ -69537,15 +72064,15 @@ - + - + - + @@ -69553,7 +72080,7 @@ - + @@ -69561,101 +72088,101 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -69663,38 +72190,38 @@ - + - + - + - + - + - + - + - + - + - + @@ -69702,7 +72229,7 @@ - + @@ -69710,7 +72237,7 @@ - + @@ -69718,7 +72245,7 @@ - + @@ -69726,7 +72253,7 @@ - + @@ -69734,7 +72261,7 @@ - + @@ -69742,7 +72269,7 @@ - + @@ -69753,7 +72280,7 @@ - + @@ -69761,7 +72288,7 @@ - + @@ -69771,6 +72298,7 @@ + @@ -69805,7 +72333,7 @@ - + @@ -70089,7 +72617,14 @@ - + + + + + + + + @@ -70231,6 +72766,7 @@ + @@ -70825,6 +73361,7 @@ + @@ -70859,6 +73396,7 @@ + @@ -71213,6 +73751,7 @@ + @@ -71662,6 +74201,7 @@ + @@ -71984,6 +74524,7 @@ + @@ -72165,6 +74706,11 @@ + + + + + @@ -72378,6 +74924,11 @@ + + + + + @@ -72408,10 +74959,12 @@ + + @@ -72519,7 +75072,7 @@ - + @@ -72553,6 +75106,11 @@ + + + + + @@ -72623,6 +75181,7 @@ + @@ -72689,10 +75248,26 @@ - + + + + + + + + + + + + + + + + + + - @@ -72917,7 +75492,7 @@ - + @@ -73027,6 +75602,12 @@ + + + + + + @@ -73402,7 +75983,7 @@ - + @@ -73633,6 +76214,7 @@ + @@ -73880,6 +76462,7 @@ + @@ -74027,6 +76610,7 @@ + @@ -74076,7 +76660,7 @@ - + @@ -74223,7 +76807,7 @@ - + @@ -74234,7 +76818,7 @@ - + @@ -74856,7 +77440,7 @@ - + @@ -75001,6 +77585,7 @@ + @@ -75139,9 +77724,6 @@ - - - @@ -75492,12 +78074,12 @@ - + - + - + @@ -75693,7 +78275,7 @@ - + @@ -75795,7 +78377,7 @@ - + @@ -75815,6 +78397,9 @@ + + + @@ -76569,7 +79154,7 @@ - + @@ -76707,312 +79292,312 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -77321,6 +79906,10 @@ + + + + @@ -77750,6 +80339,7 @@ + @@ -77967,7 +80557,7 @@ - + @@ -78186,6 +80776,12 @@ + + + + + + @@ -78200,6 +80796,7 @@ + @@ -78275,6 +80872,14 @@ + + + + + + + + @@ -78283,6 +80888,7 @@ + @@ -78307,6 +80913,7 @@ + @@ -78396,6 +81003,20 @@ + + + + + + + + + + + + + + @@ -78404,6 +81025,7 @@ + @@ -78438,7 +81060,7 @@ - + @@ -78516,6 +81138,7 @@ + @@ -78823,6 +81446,20 @@ + + + + + + + + + + + + + + @@ -78882,7 +81519,7 @@ - + @@ -78921,6 +81558,12 @@ + + + + + + @@ -79003,10 +81646,10 @@ - + - + @@ -79109,6 +81752,23 @@ + + + + + + + + + + + + + + + + + @@ -79375,7 +82035,7 @@ - + @@ -79710,7 +82370,7 @@ - + @@ -79812,7 +82472,7 @@ - + @@ -79829,7 +82489,7 @@ - + @@ -79891,6 +82551,13 @@ + + + + + + + @@ -79922,6 +82589,7 @@ + @@ -80015,6 +82683,7 @@ + @@ -80186,6 +82855,14 @@ + + + + + + + + @@ -81042,6 +83719,12 @@ + + + + + + @@ -81487,6 +84170,7 @@ + @@ -81575,6 +84259,7 @@ + @@ -81759,6 +84444,10 @@ + + + + @@ -82197,7 +84886,7 @@ - + @@ -82310,7 +84999,7 @@ - + @@ -82400,7 +85089,7 @@ - + @@ -82432,6 +85121,7 @@ + @@ -82801,7 +85491,7 @@ - + @@ -82837,7 +85527,7 @@ - + @@ -82955,9 +85645,6 @@ - - - @@ -83141,6 +85828,7 @@ + @@ -83608,13 +86296,13 @@ - + - + @@ -83712,7 +86400,7 @@ - + @@ -83826,7 +86514,7 @@ - + @@ -83840,7 +86528,7 @@ - + @@ -83962,13 +86650,13 @@ - + - + - + @@ -84016,7 +86704,7 @@ - + @@ -84122,6 +86810,14 @@ + + + + + + + + @@ -84239,7 +86935,7 @@ - + @@ -84319,22 +87015,22 @@ - + - + - + - + - + - + @@ -84481,6 +87177,17 @@ + + + + + + + + + + + @@ -84816,6 +87523,62 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -84894,7 +87657,7 @@ - + @@ -85120,7 +87883,7 @@ - + @@ -85255,7 +88018,7 @@ - + @@ -85360,7 +88123,7 @@ - + @@ -85572,6 +88335,7 @@ + @@ -85686,6 +88450,7 @@ + @@ -85718,7 +88483,28 @@ + + + + + + + + + + + + + + + + + + + + + @@ -85822,6 +88608,7 @@ + @@ -85965,7 +88752,7 @@ - + @@ -86148,7 +88935,7 @@ - + @@ -86219,6 +89006,17 @@ + + + + + + + + + + + @@ -86756,6 +89554,11 @@ + + + + + @@ -87126,7 +89929,7 @@ - + @@ -87135,7 +89938,7 @@ - + @@ -87531,6 +90334,9 @@ + + + @@ -87695,6 +90501,7 @@ + @@ -87734,6 +90541,7 @@ + @@ -88133,7 +90941,7 @@ - + @@ -88210,7 +91018,7 @@ - + @@ -88220,6 +91028,14 @@ + + + + + + + + @@ -88374,10 +91190,10 @@ - + - + @@ -89220,10 +92036,10 @@ - + - + @@ -89235,7 +92051,7 @@ - + @@ -89393,6 +92209,7 @@ + @@ -89593,6 +92410,26 @@ + + + + + + + + + + + + + + + + + + + + @@ -89618,6 +92455,14 @@ + + + + + + + + @@ -89654,6 +92499,10 @@ + + + + @@ -89675,6 +92524,17 @@ + + + + + + + + + + + @@ -89754,7 +92614,86 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -89912,7 +92851,7 @@ - + @@ -90013,7 +92952,7 @@ - + @@ -90231,7 +93170,44 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -90318,6 +93294,29 @@ + + + + + + + + + + + + + + + + + + + + + + + @@ -90395,7 +93394,7 @@ - + @@ -90893,6 +93892,7 @@ + @@ -91553,6 +94553,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -91678,6 +94707,12 @@ + + + + + + @@ -91862,7 +94897,7 @@ - + @@ -91886,6 +94921,11 @@ + + + + + @@ -92024,7 +95064,7 @@ - + @@ -92295,7 +95335,7 @@ - + @@ -92380,7 +95420,7 @@ - + @@ -92602,6 +95642,11 @@ + + + + + @@ -93711,7 +96756,7 @@ - + @@ -93944,21 +96989,21 @@ - + - + - + - + - + - + @@ -94010,6 +97055,9 @@ + + + @@ -94246,7 +97294,206 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -94254,7 +97501,15 @@ - + + + + + + + + + @@ -94262,7 +97517,7 @@ - + @@ -94270,7 +97525,7 @@ - + @@ -94317,7 +97572,7 @@ - + @@ -94328,7 +97583,7 @@ - + @@ -94348,7 +97603,7 @@ - + @@ -94371,7 +97626,7 @@ - + @@ -94391,26 +97646,26 @@ - + - + - + - + - + @@ -94424,7 +97679,7 @@ - + @@ -94432,7 +97687,7 @@ - + @@ -94452,7 +97707,7 @@ - + @@ -94475,7 +97730,7 @@ - + @@ -94483,7 +97738,7 @@ - + @@ -94491,7 +97746,7 @@ - + @@ -94499,7 +97754,7 @@ - + @@ -94507,7 +97762,7 @@ - + @@ -94533,17 +97788,17 @@ - + - + - + @@ -94551,17 +97806,17 @@ - + - + - + @@ -94578,7 +97833,7 @@ - + @@ -94592,7 +97847,7 @@ - + @@ -94606,7 +97861,7 @@ - + @@ -94635,7 +97890,7 @@ - + @@ -94652,7 +97907,7 @@ - + @@ -94666,7 +97921,7 @@ - + @@ -94680,7 +97935,7 @@ - + @@ -94694,7 +97949,7 @@ - + @@ -94705,7 +97960,7 @@ - + @@ -94719,15 +97974,15 @@ - + - + - + @@ -94735,7 +97990,7 @@ - + @@ -94749,12 +98004,12 @@ - + - + @@ -94762,7 +98017,7 @@ - + @@ -94770,7 +98025,7 @@ - + @@ -94781,7 +98036,7 @@ - + @@ -94789,7 +98044,7 @@ - + @@ -94797,7 +98052,7 @@ - + @@ -94808,7 +98063,7 @@ - + @@ -94816,7 +98071,7 @@ - + @@ -94833,7 +98088,7 @@ - + @@ -94841,7 +98096,7 @@ - + @@ -94849,7 +98104,7 @@ - + @@ -94863,7 +98118,7 @@ - + @@ -94877,14 +98132,14 @@ - + - + - + @@ -94893,10 +98148,10 @@ - + - + @@ -94913,7 +98168,7 @@ - + @@ -94924,7 +98179,7 @@ - + @@ -94935,13 +98190,13 @@ - + - + @@ -94949,7 +98204,7 @@ - + @@ -94960,7 +98215,7 @@ - + @@ -94971,7 +98226,7 @@ - + @@ -94979,7 +98234,7 @@ - + @@ -95155,13 +98410,13 @@ - + - + @@ -95172,7 +98427,7 @@ - + @@ -95180,10 +98435,10 @@ - + - + @@ -95191,7 +98446,7 @@ - + @@ -95199,7 +98454,7 @@ - + @@ -95213,7 +98468,7 @@ - + @@ -95221,7 +98476,7 @@ - + @@ -95229,7 +98484,7 @@ - + @@ -95237,7 +98492,7 @@ - + @@ -95245,7 +98500,7 @@ - + @@ -95256,7 +98511,7 @@ - + @@ -95264,7 +98519,7 @@ - + @@ -95278,7 +98533,7 @@ - + @@ -95289,7 +98544,7 @@ - + @@ -95297,7 +98552,7 @@ - + @@ -95305,7 +98560,7 @@ - + @@ -95313,7 +98568,7 @@ - + @@ -95333,7 +98588,7 @@ - + @@ -95341,13 +98596,13 @@ - + - + @@ -95364,7 +98619,7 @@ - + @@ -95378,7 +98633,7 @@ - + @@ -95392,7 +98647,7 @@ - + @@ -95400,7 +98655,7 @@ - + @@ -95414,7 +98669,7 @@ - + @@ -95425,7 +98680,7 @@ - + @@ -95442,15 +98697,15 @@ - + - + - + @@ -95458,7 +98713,7 @@ - + @@ -95469,7 +98724,7 @@ - + @@ -95480,7 +98735,7 @@ - + @@ -95488,7 +98743,7 @@ - + @@ -95505,7 +98760,7 @@ - + @@ -95528,7 +98783,7 @@ - + @@ -95536,7 +98791,7 @@ - + @@ -95547,7 +98802,7 @@ - + @@ -95561,18 +98816,18 @@ - + - + - + - + @@ -95598,7 +98853,7 @@ - + @@ -95609,7 +98864,7 @@ - + @@ -95617,7 +98872,7 @@ - + @@ -95637,7 +98892,7 @@ - + @@ -95648,7 +98903,7 @@ - + @@ -95659,12 +98914,12 @@ - + - + @@ -95672,7 +98927,7 @@ - + @@ -95680,7 +98935,7 @@ - + @@ -95688,7 +98943,7 @@ - + @@ -95696,12 +98951,12 @@ - + - + @@ -95709,7 +98964,7 @@ - + @@ -95717,7 +98972,7 @@ - + @@ -95725,7 +98980,7 @@ - + @@ -95733,7 +98988,7 @@ - + @@ -95741,7 +98996,7 @@ - + @@ -95749,7 +99004,7 @@ - + @@ -95790,7 +99045,7 @@ - + @@ -95798,13 +99053,13 @@ - + - + @@ -95830,7 +99085,7 @@ - + @@ -95895,7 +99150,7 @@ - + @@ -95906,7 +99161,7 @@ - + @@ -95923,7 +99178,7 @@ - + @@ -95967,9 +99222,9 @@ - + - + @@ -95978,7 +99233,7 @@ - + @@ -95989,7 +99244,7 @@ - + @@ -96009,7 +99264,7 @@ - + @@ -96017,7 +99272,7 @@ - + @@ -96034,7 +99289,7 @@ - + @@ -96063,12 +99318,12 @@ - + - + @@ -96077,10 +99332,10 @@ - + - + @@ -96094,17 +99349,17 @@ - + - + - + @@ -96112,7 +99367,7 @@ - + @@ -96123,7 +99378,7 @@ - + @@ -96131,7 +99386,7 @@ - + @@ -96172,7 +99427,7 @@ - + @@ -96180,7 +99435,7 @@ - + @@ -96188,7 +99443,7 @@ - + @@ -96202,7 +99457,7 @@ - + @@ -96222,7 +99477,7 @@ - + @@ -96230,7 +99485,7 @@ - + @@ -96238,7 +99493,7 @@ - + @@ -96246,12 +99501,12 @@ - + - + @@ -96259,7 +99514,7 @@ - + @@ -96267,10 +99522,10 @@ - + - + @@ -96278,23 +99533,23 @@ - + - + - - + + - + @@ -96303,12 +99558,12 @@ - + - + @@ -96316,12 +99571,12 @@ - + - + @@ -96329,12 +99584,12 @@ - + - + @@ -96351,7 +99606,7 @@ - + @@ -96359,7 +99614,7 @@ - + @@ -96367,12 +99622,12 @@ - + - + @@ -96380,7 +99635,7 @@ - + @@ -96388,9 +99643,9 @@ - + - + @@ -96405,12 +99660,12 @@ - + - + @@ -96436,7 +99691,7 @@ - + @@ -96447,7 +99702,7 @@ - + @@ -96467,7 +99722,7 @@ - + @@ -96490,53 +99745,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -96550,12 +99759,12 @@ - + - + @@ -96566,7 +99775,7 @@ - + @@ -96580,7 +99789,7 @@ - + @@ -96591,7 +99800,7 @@ - + @@ -96605,7 +99814,7 @@ - + @@ -96619,20 +99828,20 @@ - + - + - + - + @@ -96646,7 +99855,7 @@ - + @@ -96654,7 +99863,7 @@ - + @@ -96665,7 +99874,7 @@ - + @@ -96682,7 +99891,7 @@ - + @@ -96702,7 +99911,7 @@ - + @@ -96719,7 +99928,7 @@ - + @@ -96730,7 +99939,7 @@ - + @@ -96738,7 +99947,7 @@ - + @@ -96746,7 +99955,7 @@ - + @@ -96754,7 +99963,7 @@ - + @@ -96768,7 +99977,7 @@ - + @@ -96776,7 +99985,7 @@ - + @@ -96787,7 +99996,7 @@ - + @@ -96804,7 +100013,7 @@ - + @@ -96830,7 +100039,7 @@ - + @@ -96841,7 +100050,7 @@ - + @@ -96852,7 +100061,7 @@ - + @@ -96909,20 +100118,7 @@ - - - - - - - - - - - - - - + @@ -97158,6 +100354,29 @@ + + + + + + + + + + + + + + + + + + + + + + + @@ -97219,7 +100438,7 @@ - + @@ -97238,6 +100457,14 @@ + + + + + + + + @@ -97413,7 +100640,7 @@ - + @@ -97584,7 +100811,7 @@ - + @@ -97616,6 +100843,7 @@ + @@ -98499,6 +101727,7 @@ + @@ -98508,6 +101737,7 @@ + @@ -98709,6 +101939,7 @@ + @@ -98896,7 +102127,7 @@ - + @@ -98952,7 +102183,7 @@ - + @@ -98979,7 +102210,7 @@ - + @@ -99107,24 +102338,25 @@ - + + - + - + - + - + - + - + @@ -99247,84 +102479,84 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -99360,12 +102592,12 @@ - + - + @@ -99504,6 +102736,13 @@ + + + + + + + @@ -100076,6 +103315,9 @@ + + + @@ -100096,7 +103338,7 @@ - + @@ -100390,6 +103632,23 @@ + + + + + + + + + + + + + + + + + @@ -100529,7 +103788,7 @@ - + @@ -100792,10 +104051,10 @@ - + - + @@ -101099,6 +104358,20 @@ + + + + + + + + + + + + + + @@ -101203,7 +104476,7 @@ - + @@ -101342,6 +104615,7 @@ + @@ -101380,6 +104654,7 @@ + @@ -101453,7 +104728,7 @@ - + @@ -101504,7 +104779,7 @@ - + @@ -101535,7 +104810,7 @@ - + @@ -101975,7 +105250,7 @@ - + @@ -102090,6 +105365,7 @@ + @@ -102165,7 +105441,7 @@ - + @@ -102224,6 +105500,7 @@ + @@ -102318,7 +105595,7 @@ - + @@ -102896,6 +106173,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -102952,12 +106255,12 @@ - + - + @@ -103040,6 +106343,98 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -103254,6 +106649,7 @@ + @@ -103322,7 +106718,7 @@ - + @@ -103380,6 +106776,7 @@ + @@ -103533,6 +106930,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -103796,7 +107219,7 @@ - + @@ -103945,6 +107368,10 @@ + + + + @@ -103970,6 +107397,7 @@ + @@ -104198,6 +107626,7 @@ + @@ -104250,7 +107679,7 @@ - + @@ -104473,6 +107902,7 @@ + @@ -105001,7 +108431,7 @@ - + @@ -105073,7 +108503,7 @@ - + @@ -105094,7 +108524,7 @@ - + @@ -105106,7 +108536,7 @@ - + @@ -105146,6 +108576,23 @@ + + + + + + + + + + + + + + + + + @@ -105204,13 +108651,13 @@ - + - + @@ -105548,7 +108995,7 @@ - + @@ -105703,6 +109150,7 @@ + @@ -105841,6 +109289,7 @@ + @@ -105863,6 +109312,17 @@ + + + + + + + + + + + @@ -107113,101 +110573,93 @@ - - - - - - - - - - - - - + - - - - - - + + + + - - - - - - - - - - - + + + + + - - - + + + + + - - - - + + + + + + + + + + + - - - - - - + + + - - - - - + + + + - - - - - + + + + + + - - - - + + + + + - - - - - - + + + + + - - - - - - + + + + - + + + + + + + + + @@ -107215,40 +110667,48 @@ - - - - - - + + + + + + - - - - + + + + + + - - - - - + + + + - - - - - + + + + + - - - - - - + + + + + + + + + + + + + @@ -107263,15 +110723,15 @@ - - - - + + + + - - - + + + @@ -107286,45 +110746,45 @@ - - - - + + + + - - - + + + - - - - - - - + + + + + + + - - - - - - - + + + + + + + - - - - + + + + - - - - + + + + @@ -107342,161 +110802,161 @@ - - - - - - - + + + + + + + - - - - - - + + + + + + - - - + + + - - - - + + + + - - - + + + - - - - - + + + + + - - - - - + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - + + + + - - - - - - - - + + + + + + + + - - - + + + - - - - + + + + - - - - + + + + - - - - - - - + + + + + + + - - - - + + + + - - - - - + + + + + @@ -107505,50 +110965,50 @@ - - - - + + + + - - - - + + + + - - - + + + - - - + + + - - - - + + + + - - - - + + + + - - - + + + - - - - - + + + + + @@ -107557,62 +111017,62 @@ - - - - - - - + + + + + + + - - - - + + + + - - - - - - - - + + + + + + + + - - - - - + + + + + - - - + + + - - - - - + + + + + - - - - - - + + + + + + - - - - + + + + @@ -107633,10 +111093,10 @@ - - - - + + + + @@ -107645,17 +111105,17 @@ - - - - - - + + + + + + - - - + + + @@ -107692,76 +111152,76 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + - - - + + + + - - - + + + + + + - - - - - + + + + + + - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -107917,102 +111377,102 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - + + - - - - - - + + + + + + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - + + + + + + + + - - - - - - - - + + + + + + + + - + - - + + - - - - - - - - - - - + + + + + + + + + + + diff --git a/drivers/android/vendor_hooks.c b/drivers/android/vendor_hooks.c index 3607c500f192..8ddb3f6664fc 100644 --- a/drivers/android/vendor_hooks.c +++ b/drivers/android/vendor_hooks.c @@ -5,6 +5,28 @@ * * Copyright 2020 Google LLC */ +#ifndef __GENKSYMS__ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include <../drivers/net/wireless/intel/ipw2x00/libipw.h> +#include <../fs/mount.h> +#include <../fs/kernfs/kernfs-internal.h> +#include <../kernel/audit.h> +#include <../net/can/af_can.h> +#include <../net/tipc/bearer.h> +#include <../net/xdp/xsk_queue.h> +#include <../security/keys/internal.h> +#endif #define CREATE_TRACE_POINTS #include diff --git a/include/trace/hooks/binder.h b/include/trace/hooks/binder.h index 001780156c5d..c46264c38dde 100644 --- a/include/trace/hooks/binder.h +++ b/include/trace/hooks/binder.h @@ -10,7 +10,6 @@ * Following tracepoints are not exported in tracefs and provide a * mechanism for vendor modules to hook and extend functionality */ -#ifdef __GENKSYMS__ struct binder_alloc; struct binder_proc; struct binder_thread; @@ -18,18 +17,7 @@ struct binder_transaction; struct task_struct; struct seq_file; struct binder_transaction_data; -#else -/* struct binder_alloc */ -#include <../drivers/android/binder_alloc.h> -/* struct binder_proc, struct binder_thread, struct binder_transaction */ -#include <../drivers/android/binder_internal.h> -/* struct task_struct */ -#include -/* struct seq_file */ -#include -/* struct binder_transaction_data */ -#include -#endif /* __GENKSYMS__ */ + DECLARE_HOOK(android_vh_binder_transaction_init, TP_PROTO(struct binder_transaction *t), TP_ARGS(t)); diff --git a/include/trace/hooks/block.h b/include/trace/hooks/block.h index 0828a306ea13..e8bee374f989 100644 --- a/include/trace/hooks/block.h +++ b/include/trace/hooks/block.h @@ -9,18 +9,9 @@ #include -#ifdef __GENKSYMS__ struct blk_mq_tags; struct blk_mq_alloc_data; struct blk_mq_tag_set; -#else -/* struct blk_mq_tags */ -#include <../block/blk-mq-tag.h> -/* struct blk_mq_alloc_data */ -#include <../block/blk-mq.h> -/* struct blk_mq_tag_set */ -#include -#endif /* __GENKSYMS__ */ DECLARE_HOOK(android_vh_blk_alloc_rqs, TP_PROTO(size_t *rq_size, struct blk_mq_tag_set *set, diff --git a/include/trace/hooks/cgroup.h b/include/trace/hooks/cgroup.h index 5546d390cb50..116a2afabf99 100644 --- a/include/trace/hooks/cgroup.h +++ b/include/trace/hooks/cgroup.h @@ -7,18 +7,10 @@ #define _TRACE_HOOK_CGROUP_H #include -#ifdef __GENKSYMS__ struct cgroup_taskset; struct cgroup_subsys; struct task_struct; -#else -/* Including ../kernel/cgroup/cgroup-internal.h breaks builds. */ -struct cgroup_taskset; -/* struct cgroup_subsys */ -#include -/* struct task_struct */ -#include -#endif /* __GENKSYMS__ */ + DECLARE_HOOK(android_vh_cgroup_set_task, TP_PROTO(int ret, struct task_struct *task), TP_ARGS(ret, task)); diff --git a/include/trace/hooks/cpufreq.h b/include/trace/hooks/cpufreq.h index 70f90a3ef25c..2739a0f9a547 100644 --- a/include/trace/hooks/cpufreq.h +++ b/include/trace/hooks/cpufreq.h @@ -6,10 +6,15 @@ #if !defined(_TRACE_HOOK_CPUFREQ_H) || defined(TRACE_HEADER_MULTI_READ) #define _TRACE_HOOK_CPUFREQ_H - -#include #include +#ifdef __GENKSYMS__ +#include +#endif + +struct cpufreq_policy; +struct task_struct; + DECLARE_HOOK(android_vh_show_max_freq, TP_PROTO(struct cpufreq_policy *policy, unsigned int *max_freq), TP_ARGS(policy, max_freq)); diff --git a/include/trace/hooks/cpuidle.h b/include/trace/hooks/cpuidle.h index 9addbdf32913..c2ddabe37b00 100644 --- a/include/trace/hooks/cpuidle.h +++ b/include/trace/hooks/cpuidle.h @@ -9,12 +9,7 @@ #include -#ifdef __GENKSYMS__ struct cpuidle_device; -#else -/* struct cpuidle_device */ -#include -#endif /* __GENKSYMS__ */ DECLARE_HOOK(android_vh_cpu_idle_enter, TP_PROTO(int *state, struct cpuidle_device *dev), diff --git a/include/trace/hooks/cpuidle_psci.h b/include/trace/hooks/cpuidle_psci.h index 4881f35712c0..3ca307a3d82b 100644 --- a/include/trace/hooks/cpuidle_psci.h +++ b/include/trace/hooks/cpuidle_psci.h @@ -10,12 +10,8 @@ * mechanism for vendor modules to hook and extend functionality */ -#ifdef __GENKSYMS__ struct cpuidle_device; -#else -/* struct cpuidle_device */ -#include -#endif /* __GENKSYMS__ */ + DECLARE_HOOK(android_vh_cpuidle_psci_enter, TP_PROTO(struct cpuidle_device *dev, bool s2idle), TP_ARGS(dev, s2idle)); diff --git a/include/trace/hooks/creds.h b/include/trace/hooks/creds.h index 9544ee2e827c..12f92be91c24 100644 --- a/include/trace/hooks/creds.h +++ b/include/trace/hooks/creds.h @@ -10,15 +10,9 @@ * Following tracepoints are not exported in tracefs and provide a * mechanism for vendor modules to hook and extend functionality */ -#ifdef __GENKSYMS__ struct cred; struct task_struct; -#else -/* struct cred */ -#include -/* struct task_struct */ -#include -#endif /* __GENKSYMS__ */ + DECLARE_HOOK(android_vh_commit_creds, TP_PROTO(const struct task_struct *task, const struct cred *new), TP_ARGS(task, new)); diff --git a/include/trace/hooks/debug.h b/include/trace/hooks/debug.h index 58ec198ceb6d..5a20141d742b 100644 --- a/include/trace/hooks/debug.h +++ b/include/trace/hooks/debug.h @@ -9,12 +9,7 @@ #include -#ifdef __GENKSYMS__ struct pt_regs; -#else -/* struct pt_regs */ -#include -#endif /* __GENKSYMS__ */ DECLARE_HOOK(android_vh_ipi_stop, TP_PROTO(struct pt_regs *regs), diff --git a/include/trace/hooks/dtask.h b/include/trace/hooks/dtask.h index be037865cdbc..749dc5b4078b 100644 --- a/include/trace/hooks/dtask.h +++ b/include/trace/hooks/dtask.h @@ -10,21 +10,11 @@ * Following tracepoints are not exported in tracefs and provide a * mechanism for vendor modules to hook and extend functionality */ -#ifdef __GENKSYMS__ struct mutex; struct rt_mutex; struct rw_semaphore; struct task_struct; -#else -/* struct mutex */ -#include -/* struct rt_mutex */ -#include -/* struct rw_semaphore */ -#include -/* struct task_struct */ -#include -#endif /* __GENKSYMS__ */ + DECLARE_HOOK(android_vh_mutex_wait_start, TP_PROTO(struct mutex *lock), TP_ARGS(lock)); diff --git a/include/trace/hooks/fault.h b/include/trace/hooks/fault.h index 920772177bb0..1b6e0b0911f5 100644 --- a/include/trace/hooks/fault.h +++ b/include/trace/hooks/fault.h @@ -10,12 +10,8 @@ * Following tracepoints are not exported in tracefs and provide a * mechanism for vendor modules to hook and extend functionality */ -#ifdef __GENKSYMS__ struct pt_regs; -#else -/* struct pt_regs */ -#include -#endif /* __GENKSYMS__ */ + DECLARE_RESTRICTED_HOOK(android_rvh_die_kernel_fault, TP_PROTO(struct pt_regs *regs, unsigned int esr, unsigned long addr, const char *msg), TP_ARGS(regs, esr, addr, msg), 1); diff --git a/include/trace/hooks/fips140.h b/include/trace/hooks/fips140.h index 6a777771a6c8..fd4a42c013c7 100644 --- a/include/trace/hooks/fips140.h +++ b/include/trace/hooks/fips140.h @@ -7,12 +7,7 @@ #define _TRACE_HOOK_FIPS140_H #include -#ifdef __GENKSYMS__ struct crypto_aes_ctx; -#else -/* struct crypto_aes_ctx */ -#include -#endif /* __GENKSYMS__ */ /* * These hooks exist only for the benefit of the FIPS140 crypto module, which diff --git a/include/trace/hooks/ftrace_dump.h b/include/trace/hooks/ftrace_dump.h index b63d9c809426..0594e8bee2e2 100644 --- a/include/trace/hooks/ftrace_dump.h +++ b/include/trace/hooks/ftrace_dump.h @@ -6,11 +6,14 @@ #if !defined(_TRACE_HOOK_FTRACE_DUMP_H) || defined(TRACE_HEADER_MULTI_READ) #define _TRACE_HOOK_FTRACE_DUMP_H +#include +#ifdef __GENKSYMS__ #include #include +#endif -#include +struct trace_seq; DECLARE_HOOK(android_vh_ftrace_oops_enter, TP_PROTO(bool *ftrace_check), diff --git a/include/trace/hooks/gic_v3.h b/include/trace/hooks/gic_v3.h index 8db98581eebc..647514f8d7a4 100644 --- a/include/trace/hooks/gic_v3.h +++ b/include/trace/hooks/gic_v3.h @@ -9,15 +9,9 @@ * Following tracepoints are not exported in tracefs and provide a * mechanism for vendor modules to hook and extend functionality */ -#ifdef __GENKSYMS__ struct cpumask; struct irq_data; -#else -/* struct cpumask */ -#include -/* struct irq_data */ -#include -#endif /* __GENKSYMS__ */ + DECLARE_HOOK(android_vh_gic_v3_affinity_init, TP_PROTO(int irq, u32 offset, u64 *affinity), TP_ARGS(irq, offset, affinity)); diff --git a/include/trace/hooks/gpiolib.h b/include/trace/hooks/gpiolib.h index 307fbaa2cae0..20115981de55 100644 --- a/include/trace/hooks/gpiolib.h +++ b/include/trace/hooks/gpiolib.h @@ -8,7 +8,12 @@ #define _TRACE_HOOK_GPIOLIB_H #include + +#ifdef __GENKSYMS__ #include "../drivers/gpio/gpiolib.h" +#endif + +struct gpio_device; DECLARE_HOOK(android_vh_gpio_block_read, TP_PROTO(struct gpio_device *gdev, bool *block_gpio_read), diff --git a/include/trace/hooks/gup.h b/include/trace/hooks/gup.h index 3135cd538a92..47ea47eeede4 100644 --- a/include/trace/hooks/gup.h +++ b/include/trace/hooks/gup.h @@ -7,12 +7,7 @@ #define _TRACE_HOOK_GUP_H #include -#ifdef __GENKSYMS__ struct page; -#else -/* struct page */ -#include -#endif /* __GENKSYMS__ */ DECLARE_HOOK(android_vh_try_grab_compound_head, TP_PROTO(struct page *page, int refs, unsigned int flags, bool *ret), diff --git a/include/trace/hooks/logbuf.h b/include/trace/hooks/logbuf.h index caec0d062476..c5ad3ba85174 100644 --- a/include/trace/hooks/logbuf.h +++ b/include/trace/hooks/logbuf.h @@ -9,13 +9,8 @@ #include -#ifdef __GENKSYMS__ struct printk_record; struct printk_ringbuffer; -#else -/* struct printk_record, struct printk_ringbuffer */ -#include <../kernel/printk/printk_ringbuffer.h> -#endif /* __GENKSYMS__ */ DECLARE_HOOK(android_vh_logbuf, TP_PROTO(struct printk_ringbuffer *rb, struct printk_record *r), diff --git a/include/trace/hooks/mm.h b/include/trace/hooks/mm.h index 9e8f234545b1..c3113e14e847 100644 --- a/include/trace/hooks/mm.h +++ b/include/trace/hooks/mm.h @@ -8,30 +8,20 @@ #define _TRACE_HOOK_MM_H #include - -#include -#include #include #ifdef __GENKSYMS__ +#include +#include +#endif + +struct oom_control; struct cma; struct acr_info; struct compact_control; struct slabinfo; struct cgroup_subsys_state; struct mem_cgroup; -#else -/* struct compact_control */ -#include <../mm/internal.h> -/* struct slabinfo */ -#include <../mm/slab.h> -/* struct cgroup_subsys_state */ -#include -/* struct acr_info */ -#include -/* struct mem_cgroup */ -#include -#endif /* __GENKSYMS__ */ struct cma; struct acr_info; diff --git a/include/trace/hooks/mmc_core.h b/include/trace/hooks/mmc_core.h index 1889cc54a2b3..c59b4accc9fd 100644 --- a/include/trace/hooks/mmc_core.h +++ b/include/trace/hooks/mmc_core.h @@ -9,18 +9,9 @@ #include -#ifdef __GENKSYMS__ struct sdhci_host; struct mmc_card; struct mmc_host; -#else -/* struct sdhci_host */ -#include <../drivers/mmc/host/sdhci.h> -/* struct mmc_card */ -#include -/* struct mmc_host */ -#include -#endif /* __GENKSYMS__ */ DECLARE_HOOK(android_vh_mmc_blk_reset, TP_PROTO(struct mmc_host *host, int err, bool *allow), diff --git a/include/trace/hooks/mpam.h b/include/trace/hooks/mpam.h index f7f5e468bcef..06b96b1309f8 100644 --- a/include/trace/hooks/mpam.h +++ b/include/trace/hooks/mpam.h @@ -10,12 +10,8 @@ * Following tracepoints are not exported in tracefs and provide a * mechanism for vendor modules to hook and extend functionality */ -#ifdef __GENKSYMS__ struct task_struct; -#else -/* struct task_struct */ -#include -#endif /* __GENKSYMS__ */ + DECLARE_HOOK(android_vh_mpam_set, TP_PROTO(struct task_struct *prev, struct task_struct *next), TP_ARGS(prev, next)); diff --git a/include/trace/hooks/net.h b/include/trace/hooks/net.h index 97f15ba6ae3c..4fcd632b2f96 100644 --- a/include/trace/hooks/net.h +++ b/include/trace/hooks/net.h @@ -8,24 +8,12 @@ #define _TRACE_HOOK_NET_VH_H #include -#ifdef __GENKSYMS__ struct packet_type; struct sk_buff; struct list_head; struct nf_conn; struct sock; -#else -/* struct packet_type */ -#include -/* struct sk_buff */ -#include -/* struct list_head */ -#include -/* struct nf_conn */ -#include -/* struct sock */ -#include -#endif /* __GENKSYMS__ */ + DECLARE_HOOK(android_vh_ptype_head, TP_PROTO(const struct packet_type *pt, struct list_head *vendor_pt), TP_ARGS(pt, vendor_pt)); diff --git a/include/trace/hooks/pci.h b/include/trace/hooks/pci.h index 00d38980ec49..40255448c83c 100644 --- a/include/trace/hooks/pci.h +++ b/include/trace/hooks/pci.h @@ -6,6 +6,9 @@ #if !defined(_TRACE_HOOK_PCI_H) || defined(TRACE_HEADER_MULTI_READ) #define _TRACE_HOOK_PCI_H #include + +struct pci_dev; + /* * Following tracepoints are not exported in tracefs and provide a * mechanism for vendor modules to hook and extend functionality diff --git a/include/trace/hooks/pm_domain.h b/include/trace/hooks/pm_domain.h index 1a8ce26ccc3d..eaee85b9c00c 100644 --- a/include/trace/hooks/pm_domain.h +++ b/include/trace/hooks/pm_domain.h @@ -10,12 +10,8 @@ #include -#ifdef __GENKSYMS__ struct generic_pm_domain; -#else -/* struct generic_pm_domain */ -#include -#endif /* __GENKSYMS__ */ + DECLARE_HOOK(android_vh_allow_domain_state, TP_PROTO(struct generic_pm_domain *genpd, uint32_t idx, bool *allow), TP_ARGS(genpd, idx, allow)) diff --git a/include/trace/hooks/power.h b/include/trace/hooks/power.h index 3c735b7a5abd..f9b7bbec1531 100644 --- a/include/trace/hooks/power.h +++ b/include/trace/hooks/power.h @@ -10,17 +10,14 @@ * Following tracepoints are not exported in tracefs and provide a * mechanism for vendor modules to hook and extend functionality */ -#ifdef __GENKSYMS__ -enum freq_qos_req_type; + +/* needed for enum freq_qos_req_types */ +#include + struct freq_constraints; struct freq_qos_request; struct task_struct; -#else -/* enum freq_qos_req_type, struct freq_constraints, struct freq_qos_request */ -#include -/* struct task_struct */ -#include -#endif /* __GENKSYMS__ */ + DECLARE_HOOK(android_vh_try_to_freeze_todo, TP_PROTO(unsigned int todo, unsigned int elapsed_msecs, bool wq_busy), TP_ARGS(todo, elapsed_msecs, wq_busy)); diff --git a/include/trace/hooks/psi.h b/include/trace/hooks/psi.h index 32c7a273c5e2..deeb3dfbeeb0 100644 --- a/include/trace/hooks/psi.h +++ b/include/trace/hooks/psi.h @@ -9,13 +9,9 @@ #include -#ifdef __GENKSYMS__ struct psi_group; struct psi_trigger; -#else -/* struct psi_group, struct psi_trigger */ -#include -#endif /* __GENKSYMS__ */ + DECLARE_HOOK(android_vh_psi_event, TP_PROTO(struct psi_trigger *t), TP_ARGS(t)); diff --git a/include/trace/hooks/remoteproc.h b/include/trace/hooks/remoteproc.h index 4d3311b1fee4..ee0a2f0ea147 100644 --- a/include/trace/hooks/remoteproc.h +++ b/include/trace/hooks/remoteproc.h @@ -9,12 +9,7 @@ #include -#ifdef __GENKSYMS__ struct rproc; -#else -/* struct rproc */ -#include -#endif /* __GENKSYMS__ */ DECLARE_HOOK(android_vh_rproc_recovery, TP_PROTO(struct rproc *rproc), diff --git a/include/trace/hooks/rwsem.h b/include/trace/hooks/rwsem.h index 3d6877f166ed..e3fd21729eee 100644 --- a/include/trace/hooks/rwsem.h +++ b/include/trace/hooks/rwsem.h @@ -9,13 +9,9 @@ * Following tracepoints are not exported in tracefs and provide a * mechanism for vendor modules to hook and extend functionality */ -#ifdef __GENKSYMS__ struct rw_semaphore; struct rwsem_waiter; -#else -/* struct rw_semaphore, struct rwsem_waiter */ -#include -#endif /* __GENKSYMS__ */ + DECLARE_HOOK(android_vh_rwsem_init, TP_PROTO(struct rw_semaphore *sem), TP_ARGS(sem)); diff --git a/include/trace/hooks/sched.h b/include/trace/hooks/sched.h index 3a8eee2345af..4f345029ea09 100644 --- a/include/trace/hooks/sched.h +++ b/include/trace/hooks/sched.h @@ -9,7 +9,6 @@ * Following tracepoints are not exported in tracefs and provide a * mechanism for vendor modules to hook and extend functionality */ -#ifdef __GENKSYMS__ struct cgroup_taskset; struct cgroup_subsys_state; struct cpufreq_policy; @@ -18,20 +17,7 @@ enum uclamp_id; struct sched_entity; struct task_struct; struct uclamp_se; -#else -/* Including ../kernel/cgroup/cgroup-internal.h breaks builds. */ -struct cgroup_taskset; -/* struct cgroup_subsys_state */ -#include -/* struct cpufreq_policy */ -#include -/* struct em_perf_domain */ -#include -/* enum uclamp_id, struct sched_entity, struct task_struct, struct uclamp_se */ -#include -/* Only defined with CONFIG_UCLAMP_TASK, so declare unconditionally. */ -struct uclamp_se; -#endif /* __GENKSYMS__ */ + DECLARE_RESTRICTED_HOOK(android_rvh_select_task_rq_fair, TP_PROTO(struct task_struct *p, int prev_cpu, int sd_flag, int wake_flags, int *new_cpu), TP_ARGS(p, prev_cpu, sd_flag, wake_flags, new_cpu), 1); diff --git a/include/trace/hooks/shmem_fs.h b/include/trace/hooks/shmem_fs.h index adfd05825928..29c45d1e0571 100644 --- a/include/trace/hooks/shmem_fs.h +++ b/include/trace/hooks/shmem_fs.h @@ -7,12 +7,8 @@ #define _TRACE_HOOK_SHMEM_FS_H #include -#ifdef __GENKSYMS__ struct page; -#else -/* struct page */ -#include -#endif /* __GENKSYMS__ */ + DECLARE_HOOK(android_vh_shmem_alloc_page, TP_PROTO(struct page **page), TP_ARGS(page)); diff --git a/include/trace/hooks/signal.h b/include/trace/hooks/signal.h index 04976ed38cc7..6338274f27c4 100644 --- a/include/trace/hooks/signal.h +++ b/include/trace/hooks/signal.h @@ -7,12 +7,8 @@ #define _TRACE_HOOK_SIGNAL_H #include -#ifdef __GENKSYMS__ struct task_struct; -#else -/* struct task_struct */ -#include -#endif /* __GENKSYMS__ */ + DECLARE_HOOK(android_vh_do_send_sig_info, TP_PROTO(int sig, struct task_struct *killer, struct task_struct *dst), TP_ARGS(sig, killer, dst)); diff --git a/include/trace/hooks/softlockup.h b/include/trace/hooks/softlockup.h index d90571a3f0fc..d9806aeb5aa8 100644 --- a/include/trace/hooks/softlockup.h +++ b/include/trace/hooks/softlockup.h @@ -10,12 +10,8 @@ * Following tracepoints are not exported in tracefs and provide a * mechanism for vendor modules to hook and extend functionality */ -#ifdef __GENKSYMS__ struct pt_regs; -#else -/* struct pt_regs */ -#include -#endif /* __GENKSYMS__ */ + DECLARE_HOOK(android_vh_watchdog_timer_softlockup, TP_PROTO(int duration, struct pt_regs *regs, bool is_panic), TP_ARGS(duration, regs, is_panic)); diff --git a/include/trace/hooks/sys.h b/include/trace/hooks/sys.h index 819a126ce0ae..a14bd4135410 100644 --- a/include/trace/hooks/sys.h +++ b/include/trace/hooks/sys.h @@ -7,12 +7,8 @@ #define _TRACE_HOOK_SYS_H #include -#ifdef __GENKSYMS__ struct task_struct; -#else -/* struct task_struct */ -#include -#endif /* __GENKSYMS__ */ + DECLARE_HOOK(android_vh_syscall_prctl_finished, TP_PROTO(int option, struct task_struct *task), TP_ARGS(option, task)); diff --git a/include/trace/hooks/syscall_check.h b/include/trace/hooks/syscall_check.h index aa563ad1c510..c906ff6b8e7f 100644 --- a/include/trace/hooks/syscall_check.h +++ b/include/trace/hooks/syscall_check.h @@ -10,15 +10,9 @@ * Following tracepoints are not exported in tracefs and provide a * mechanism for vendor modules to hook and extend functionality */ -#ifdef __GENKSYMS__ struct file; union bpf_attr; -#else -/* struct file */ -#include -/* union bpf_attr */ -#include -#endif /* __GENKSYMS__ */ + DECLARE_HOOK(android_vh_check_mmap_file, TP_PROTO(const struct file *file, unsigned long prot, unsigned long flag, unsigned long ret), diff --git a/include/trace/hooks/thermal.h b/include/trace/hooks/thermal.h index e9a9a4ae3e07..97074725fb08 100644 --- a/include/trace/hooks/thermal.h +++ b/include/trace/hooks/thermal.h @@ -10,12 +10,8 @@ #include #include -#ifdef __GENKSYMS__ struct thermal_zone_device; -#else -/* struct thermal_zone_device */ -#include -#endif /* __GENKSYMS__ */ + DECLARE_HOOK(android_vh_enable_thermal_genl_check, TP_PROTO(int event, int tz_id, int *enable_thermal_genl), TP_ARGS(event, tz_id, enable_thermal_genl)); diff --git a/include/trace/hooks/topology.h b/include/trace/hooks/topology.h index 5d29893ba477..e924c97ab4d9 100644 --- a/include/trace/hooks/topology.h +++ b/include/trace/hooks/topology.h @@ -8,7 +8,12 @@ #define _TRACE_HOOK_TOPOLOGY_H #include + +#ifdef __GENKSYMS__ #include +#endif + +struct cpumask; DECLARE_HOOK(android_vh_arch_set_freq_scale, TP_PROTO(const struct cpumask *cpus, unsigned long freq, diff --git a/include/trace/hooks/traps.h b/include/trace/hooks/traps.h index 6b9b986f7a30..f0ede1e69b15 100644 --- a/include/trace/hooks/traps.h +++ b/include/trace/hooks/traps.h @@ -10,12 +10,8 @@ * Following tracepoints are not exported in tracefs and provide a * mechanism for vendor modules to hook and extend functionality */ -#ifdef __GENKSYMS__ struct pt_regs; -#else -/* struct pt_regs */ -#include -#endif /* __GENKSYMS__ */ + DECLARE_RESTRICTED_HOOK(android_rvh_do_undefinstr, TP_PROTO(struct pt_regs *regs, bool user), TP_ARGS(regs, user), diff --git a/include/trace/hooks/ufshcd.h b/include/trace/hooks/ufshcd.h index 32a7f98da4c1..ad2c067f02c4 100644 --- a/include/trace/hooks/ufshcd.h +++ b/include/trace/hooks/ufshcd.h @@ -9,20 +9,11 @@ * Following tracepoints are not exported in tracefs and provide a * mechanism for vendor modules to hook and extend functionality */ -#ifdef __GENKSYMS__ struct ufs_hba; struct ufshcd_lrb; struct uic_command; struct request; struct scsi_device; -#else -/* struct ufs_hba, struct ufshcd_lrb, struct uic_command */ -#include <../drivers/scsi/ufs/ufshcd.h> -/* struct request */ -#include -/* struct scsi_device */ -#include -#endif /* __GENKSYMS__ */ DECLARE_HOOK(android_vh_ufs_fill_prdt, TP_PROTO(struct ufs_hba *hba, struct ufshcd_lrb *lrbp, diff --git a/include/trace/hooks/usb.h b/include/trace/hooks/usb.h index f4d5ff04b6b8..3a22a2971c24 100644 --- a/include/trace/hooks/usb.h +++ b/include/trace/hooks/usb.h @@ -5,8 +5,14 @@ #define TRACE_INCLUDE_PATH trace/hooks #if !defined(_TRACE_HOOK_USB_H) || defined(TRACE_HEADER_MULTI_READ) #define _TRACE_HOOK_USB_H -#include #include + +#ifdef __GENKSYMS__ +#include +#endif + +struct usb_device; + /* * Following tracepoints are not exported in tracefs and provide a * mechanism for vendor modules to hook and extend functionality diff --git a/include/trace/hooks/user.h b/include/trace/hooks/user.h index 6a39785a52e1..1a41c12edd58 100644 --- a/include/trace/hooks/user.h +++ b/include/trace/hooks/user.h @@ -7,12 +7,8 @@ #define _TRACE_HOOK_USER_H #include -#ifdef __GENKSYMS__ struct user_struct; -#else -/* struct user_struct */ -#include -#endif /* __GENKSYMS__ */ + DECLARE_HOOK(android_vh_alloc_uid, TP_PROTO(struct user_struct *user), TP_ARGS(user)); diff --git a/include/trace/hooks/v4l2core.h b/include/trace/hooks/v4l2core.h index 3dec47042a86..e209621cd66c 100644 --- a/include/trace/hooks/v4l2core.h +++ b/include/trace/hooks/v4l2core.h @@ -9,7 +9,6 @@ #include -#ifdef __GENKSYMS__ struct v4l2_subdev; struct v4l2_subdev_pad_config; struct v4l2_subdev_format; @@ -17,14 +16,7 @@ struct v4l2_subdev_frame_interval; struct v4l2_subdev_selection; struct v4l2_fmtdesc; struct v4l2_format; -#else -/* struct v4l2_subdev, struct v4l2_subdev_pad_config */ -#include -/* struct v4l2_subdev_format, struct v4l2_subdev_frame_interval, struct v4l2_subdev_selection */ -#include -/* struct v4l2_fmtdesc, struct v4l2_format */ -#include -#endif /* __GENKSYMS__ */ + DECLARE_HOOK(android_vh_clear_reserved_fmt_fields, TP_PROTO(struct v4l2_format *fmt, int *ret), TP_ARGS(fmt, ret)); diff --git a/include/trace/hooks/v4l2mc.h b/include/trace/hooks/v4l2mc.h index 332a3a09680d..cafc74f14e9b 100644 --- a/include/trace/hooks/v4l2mc.h +++ b/include/trace/hooks/v4l2mc.h @@ -9,15 +9,9 @@ #include -#ifdef __GENKSYMS__ struct media_link; struct media_link_desc; -#else -/* struct media_link */ -#include -/* struct media_link_desc */ -#include -#endif /* __GENKSYMS__ */ + DECLARE_HOOK(android_vh_media_device_setup_link, TP_PROTO(struct media_link *link, struct media_link_desc *linkd, int *ret), TP_ARGS(link, linkd, ret)); diff --git a/include/trace/hooks/workqueue.h b/include/trace/hooks/workqueue.h index 3d6d0d61040d..284b3ff86fa8 100644 --- a/include/trace/hooks/workqueue.h +++ b/include/trace/hooks/workqueue.h @@ -10,12 +10,8 @@ * Following tracepoints are not exported in tracefs and provide a * mechanism for vendor modules to hook and extend functionality */ -#ifdef __GENKSYMS__ struct worker; -#else -/* struct worker */ -#include <../kernel/workqueue_internal.h> -#endif /* __GENKSYMS__ */ + DECLARE_HOOK(android_vh_create_worker, TP_PROTO(struct worker *worker, struct workqueue_attrs *attrs), TP_ARGS(worker, attrs));