exclude_kernel 186 arch/arc/kernel/perf_event.c if (event->attr.exclude_kernel) exclude_kernel 1079 arch/arm/kernel/perf_event_v7.c if (attr->exclude_kernel) exclude_kernel 839 arch/arm64/kernel/perf_event.c if (!attr->exclude_kernel && !attr->exclude_host) exclude_kernel 853 arch/arm64/kernel/perf_event.c if (attr->exclude_kernel) exclude_kernel 999 arch/csky/kernel/perf_event.c else if (event->attr.exclude_kernel) exclude_kernel 1320 arch/mips/kernel/perf_event_mipsxx.c if (!attr->exclude_kernel) { exclude_kernel 326 arch/nds32/kernel/perf_event_cpu.c if (attr->exclude_kernel) exclude_kernel 409 arch/nds32/kernel/perf_event_cpu.c return attr->exclude_user || attr->exclude_kernel; exclude_kernel 151 arch/powerpc/kernel/hw_breakpoint.c if (!attr->exclude_kernel) exclude_kernel 1016 arch/powerpc/perf/core-book3s.c ek = event->attr.exclude_kernel; exclude_kernel 1020 arch/powerpc/perf/core-book3s.c event->attr.exclude_kernel != ek || exclude_kernel 1342 arch/powerpc/perf/core-book3s.c if (event->attr.exclude_kernel) exclude_kernel 1741 arch/powerpc/perf/core-book3s.c || event->attr.exclude_kernel exclude_kernel 554 arch/powerpc/perf/core-fsl-emb.c if (event->attr.exclude_kernel) exclude_kernel 456 arch/powerpc/perf/isa207-common.c if (pevents[i]->attr.exclude_kernel) { exclude_kernel 214 arch/s390/kernel/perf_cpum_cf.c if (attr->exclude_kernel || attr->exclude_user || exclude_kernel 225 arch/s390/kernel/perf_cpum_cf.c if (!attr->exclude_user && attr->exclude_kernel) { exclude_kernel 231 arch/s390/kernel/perf_cpum_cf.c } else if (!attr->exclude_kernel && attr->exclude_user) { exclude_kernel 260 arch/s390/kernel/perf_cpum_cf_diag.c if (attr->exclude_kernel || attr->exclude_user || attr->exclude_hv || exclude_kernel 1052 arch/s390/kernel/perf_cpum_sf.c if (event->attr.exclude_kernel && !user_mode(regs)) exclude_kernel 1332 arch/sparc/kernel/perf_event.c ek = event->attr.exclude_kernel; exclude_kernel 1336 arch/sparc/kernel/perf_event.c event->attr.exclude_kernel != ek || exclude_kernel 1468 arch/sparc/kernel/perf_event.c if (!attr->exclude_kernel) exclude_kernel 471 arch/x86/events/core.c if (!event->attr.exclude_kernel) exclude_kernel 537 arch/x86/events/core.c if (!event->attr.exclude_kernel) exclude_kernel 556 arch/x86/events/core.c if (!event->attr.exclude_kernel) exclude_kernel 234 arch/x86/events/intel/bts.c if (!event->attr.exclude_kernel) exclude_kernel 558 arch/x86/events/intel/bts.c if (event->attr.exclude_kernel && perf_paranoid_kernel() && exclude_kernel 3216 arch/x86/events/intel/core.c if (!event->attr.exclude_kernel) exclude_kernel 3233 arch/x86/events/intel/core.c if (!attr->exclude_kernel) exclude_kernel 631 arch/x86/events/intel/ds.c if (event->attr.exclude_kernel && exclude_kernel 650 arch/x86/events/intel/ds.c if (event->attr.exclude_kernel && exclude_kernel 814 arch/x86/events/intel/p4.c escr = p4_default_escr_conf(cpu, event->attr.exclude_kernel, exclude_kernel 496 arch/x86/events/intel/pt.c if (!event->attr.exclude_kernel) exclude_kernel 101 arch/x86/kvm/pmu.c bool exclude_kernel, bool intr, exclude_kernel 112 arch/x86/kvm/pmu.c .exclude_kernel = exclude_kernel, exclude_kernel 320 drivers/hwtracing/coresight/coresight-etm3x.c if (attr->exclude_kernel) exclude_kernel 316 drivers/hwtracing/coresight/coresight-etm4x.c if (attr->exclude_kernel) exclude_kernel 274 drivers/perf/arm_spe_pmu.c if (!attr->exclude_kernel) exclude_kernel 29 include/linux/hw_breakpoint.h attr->exclude_kernel = 1; exclude_kernel 1047 include/linux/perf_event.h attr->exclude_kernel || attr->exclude_hv || exclude_kernel 340 include/uapi/linux/perf_event.h exclude_kernel : 1, /* ditto kernel */ exclude_kernel 8338 kernel/events/core.c if (event->attr.exclude_kernel && !user_mode(regs)) exclude_kernel 8696 kernel/events/core.c if (event->attr.exclude_kernel && !user_mode(regs)) exclude_kernel 9430 kernel/events/core.c if (kernel && event->attr.exclude_kernel) exclude_kernel 10692 kernel/events/core.c if (!attr->exclude_kernel) exclude_kernel 10925 kernel/events/core.c if (!attr.exclude_kernel) { exclude_kernel 401 kernel/events/hw_breakpoint.c if (attr->exclude_kernel) exclude_kernel 340 tools/include/uapi/linux/perf_event.h exclude_kernel : 1, /* ditto kernel */ exclude_kernel 105 tools/perf/arch/x86/tests/rdpmc.c .exclude_kernel = 1, exclude_kernel 285 tools/perf/arch/x86/util/perf_regs.c .exclude_kernel = 1, exclude_kernel 111 tools/perf/tests/attr.c WRITE_ASS(exclude_kernel, "d"); exclude_kernel 49 tools/perf/tests/bp_account.c attr->exclude_kernel = 1; exclude_kernel 118 tools/perf/tests/bp_signal.c pe.exclude_kernel = 1; exclude_kernel 93 tools/perf/tests/bp_signal_overflow.c pe.exclude_kernel = 1; exclude_kernel 228 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); exclude_kernel 246 tools/perf/tests/parse-events.c evsel->core.attr.exclude_kernel); exclude_kernel 259 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); exclude_kernel 271 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel); exclude_kernel 283 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel); exclude_kernel 315 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel); exclude_kernel 327 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); exclude_kernel 342 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); exclude_kernel 357 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); exclude_kernel 370 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel); exclude_kernel 384 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); exclude_kernel 398 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel); exclude_kernel 412 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel); exclude_kernel 426 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); exclude_kernel 466 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); exclude_kernel 477 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); exclude_kernel 486 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel); exclude_kernel 556 tools/perf/tests/parse-events.c evsel->core.attr.exclude_kernel); exclude_kernel 574 tools/perf/tests/parse-events.c evsel->core.attr.exclude_kernel); exclude_kernel 586 tools/perf/tests/parse-events.c evsel->core.attr.exclude_kernel); exclude_kernel 650 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); exclude_kernel 666 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel); exclude_kernel 692 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); exclude_kernel 708 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel); exclude_kernel 723 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); exclude_kernel 748 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); exclude_kernel 766 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); exclude_kernel 783 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); exclude_kernel 800 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); exclude_kernel 815 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel); exclude_kernel 839 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel); exclude_kernel 857 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); exclude_kernel 883 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); exclude_kernel 900 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); exclude_kernel 915 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); exclude_kernel 932 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); exclude_kernel 946 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); exclude_kernel 969 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); exclude_kernel 985 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); exclude_kernel 1009 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); exclude_kernel 1025 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); exclude_kernel 1049 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel); exclude_kernel 1065 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel); exclude_kernel 1089 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel); exclude_kernel 1105 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel); exclude_kernel 1128 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); exclude_kernel 1143 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); exclude_kernel 1157 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->core.attr.exclude_kernel); exclude_kernel 1181 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel); exclude_kernel 1196 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel); exclude_kernel 1213 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel); exclude_kernel 1288 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel); exclude_kernel 1365 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong exclude_kernel", evsel->core.attr.exclude_kernel); exclude_kernel 40 tools/perf/tests/sw-clock.c .exclude_kernel = 1, exclude_kernel 102 tools/perf/tests/task-exit.c evsel->core.attr.exclude_kernel = 1; exclude_kernel 47 tools/perf/tests/wp.c attr->exclude_kernel = 1; exclude_kernel 35 tools/perf/util/cloexec.c .exclude_kernel = 1, exclude_kernel 1293 tools/perf/util/cs-etm.c attr.exclude_kernel = evsel->core.attr.exclude_kernel; exclude_kernel 1621 tools/perf/util/evlist.c if (!evsel->core.attr.exclude_kernel) exclude_kernel 300 tools/perf/util/evsel.c .exclude_kernel = !perf_event_can_profile_kernel(), exclude_kernel 322 tools/perf/util/evsel.c (attr.precise_ip || attr.exclude_kernel) ? ":" : "", exclude_kernel 323 tools/perf/util/evsel.c attr.exclude_kernel ? "u" : "", exclude_kernel 408 tools/perf/util/evsel.c if (attr->exclude_kernel || attr->exclude_user || attr->exclude_hv) { exclude_kernel 1131 tools/perf/util/evsel.c attr->exclude_kernel = 1; exclude_kernel 1136 tools/perf/util/evsel.c attr->exclude_kernel = 0; exclude_kernel 2354 tools/perf/util/evsel.c } else if (err == EACCES && !evsel->core.attr.exclude_kernel && exclude_kernel 2374 tools/perf/util/evsel.c evsel->core.attr.exclude_kernel = 1; exclude_kernel 791 tools/perf/util/intel-bts.c attr.exclude_kernel = evsel->core.attr.exclude_kernel; exclude_kernel 159 tools/perf/util/intel-pt.c bool exclude_kernel; exclude_kernel 731 tools/perf/util/intel-pt.c !evsel->core.attr.exclude_kernel) exclude_kernel 813 tools/perf/util/intel-pt.c !evsel->core.attr.exclude_kernel) exclude_kernel 889 tools/perf/util/intel-pt.c ptq->exclude_kernel = intel_pt_exclude_kernel(pt); exclude_kernel 2772 tools/perf/util/intel-pt.c attr.exclude_kernel = evsel->core.attr.exclude_kernel; exclude_kernel 1611 tools/perf/util/parse-events.c int ek = evsel ? evsel->core.attr.exclude_kernel : 0; exclude_kernel 1738 tools/perf/util/parse-events.c evsel->core.attr.exclude_kernel = mod.ek; exclude_kernel 2356 tools/perf/util/parse-events.c evsel->core.attr.exclude_kernel = 1; exclude_kernel 108 tools/perf/util/perf_event_attr_fprintf.c PRINT_ATTRf(exclude_kernel, p_unsigned); exclude_kernel 737 tools/perf/util/python.c exclude_kernel = 0, exclude_kernel 759 tools/perf/util/python.c &exclude_kernel, &exclude_hv, &exclude_idle, exclude_kernel 780 tools/perf/util/python.c attr.exclude_kernel = exclude_kernel; exclude_kernel 120 tools/perf/util/record.c .exclude_kernel = 1, exclude_kernel 153 tools/perf/util/stat-shadow.c if (evsel->core.attr.exclude_kernel) exclude_kernel 24 tools/testing/selftests/powerpc/pmu/count_instructions.c e->attr.exclude_kernel = 1; exclude_kernel 71 tools/testing/selftests/powerpc/pmu/ebb/back_to_back_ebbs_test.c event.attr.exclude_kernel = 1; exclude_kernel 28 tools/testing/selftests/powerpc/pmu/ebb/cpu_event_pinned_vs_ebb_test.c event->attr.exclude_kernel = 1; exclude_kernel 26 tools/testing/selftests/powerpc/pmu/ebb/cpu_event_vs_ebb_test.c event->attr.exclude_kernel = 1; exclude_kernel 24 tools/testing/selftests/powerpc/pmu/ebb/cycles_test.c event.attr.exclude_kernel = 1; exclude_kernel 64 tools/testing/selftests/powerpc/pmu/ebb/cycles_with_freeze_test.c event.attr.exclude_kernel = 1; exclude_kernel 34 tools/testing/selftests/powerpc/pmu/ebb/cycles_with_mmcr2_test.c event.attr.exclude_kernel = 1; exclude_kernel 359 tools/testing/selftests/powerpc/pmu/ebb/ebb.c event.attr.exclude_kernel = 1; exclude_kernel 68 tools/testing/selftests/powerpc/pmu/ebb/ebb_on_child_test.c event.attr.exclude_kernel = 1; exclude_kernel 76 tools/testing/selftests/powerpc/pmu/ebb/ebb_on_willing_child_test.c event.attr.exclude_kernel = 1; exclude_kernel 26 tools/testing/selftests/powerpc/pmu/ebb/ebb_vs_cpu_event_test.c event->attr.exclude_kernel = 1; exclude_kernel 118 tools/testing/selftests/powerpc/pmu/ebb/instruction_count_test.c event.attr.exclude_kernel = 1; exclude_kernel 32 tools/testing/selftests/powerpc/pmu/ebb/lost_exception_test.c event.attr.exclude_kernel = 1; exclude_kernel 36 tools/testing/selftests/powerpc/pmu/ebb/multi_counter_test.c events[i].attr.exclude_kernel = 1; exclude_kernel 42 tools/testing/selftests/powerpc/pmu/ebb/multi_ebb_procs_test.c event.attr.exclude_kernel = 1; exclude_kernel 27 tools/testing/selftests/powerpc/pmu/ebb/no_handler_test.c event.attr.exclude_kernel = 1; exclude_kernel 66 tools/testing/selftests/powerpc/pmu/ebb/pmae_handling_test.c event.attr.exclude_kernel = 1; exclude_kernel 58 tools/testing/selftests/powerpc/pmu/ebb/pmc56_overflow_test.c event.attr.exclude_kernel = 1; exclude_kernel 28 tools/testing/selftests/powerpc/pmu/ebb/task_event_pinned_vs_ebb_test.c event->attr.exclude_kernel = 1; exclude_kernel 26 tools/testing/selftests/powerpc/pmu/ebb/task_event_vs_ebb_test.c event->attr.exclude_kernel = 1; exclude_kernel 54 tools/testing/selftests/powerpc/pmu/per_event_excludes.c e->attr.exclude_kernel = 1; exclude_kernel 61 tools/testing/selftests/powerpc/pmu/per_event_excludes.c e->attr.exclude_kernel = 1; exclude_kernel 192 tools/testing/selftests/powerpc/utils.c event_attr->exclude_kernel = 1; exclude_kernel 597 virt/kvm/arm/pmu.c attr.exclude_kernel = data & ARMV8_PMU_EXCLUDE_EL1 ? 1 : 0;