debug.c (17bf423a1f2d134187191f0ceb4b395173cc98a7) | debug.c (e9666d10a5677a494260d60d1fa0b73cc7646eb3) |
---|---|
1/* 2 * kernel/sched/debug.c 3 * 4 * Print the CFS rbtree and other debugging details 5 * 6 * Copyright(C) 2007, Red Hat, Inc., Ingo Molnar 7 * 8 * This program is free software; you can redistribute it and/or modify --- 59 unchanged lines hidden (view full) --- 68 seq_puts(m, "NO_"); 69 seq_printf(m, "%s ", sched_feat_names[i]); 70 } 71 seq_puts(m, "\n"); 72 73 return 0; 74} 75 | 1/* 2 * kernel/sched/debug.c 3 * 4 * Print the CFS rbtree and other debugging details 5 * 6 * Copyright(C) 2007, Red Hat, Inc., Ingo Molnar 7 * 8 * This program is free software; you can redistribute it and/or modify --- 59 unchanged lines hidden (view full) --- 68 seq_puts(m, "NO_"); 69 seq_printf(m, "%s ", sched_feat_names[i]); 70 } 71 seq_puts(m, "\n"); 72 73 return 0; 74} 75 |
76#ifdef HAVE_JUMP_LABEL | 76#ifdef CONFIG_JUMP_LABEL |
77 78#define jump_label_key__true STATIC_KEY_INIT_TRUE 79#define jump_label_key__false STATIC_KEY_INIT_FALSE 80 81#define SCHED_FEAT(name, enabled) \ 82 jump_label_key__##enabled , 83 84struct static_key sched_feat_keys[__SCHED_FEAT_NR] = { --- 9 unchanged lines hidden (view full) --- 94 95static void sched_feat_enable(int i) 96{ 97 static_key_enable_cpuslocked(&sched_feat_keys[i]); 98} 99#else 100static void sched_feat_disable(int i) { }; 101static void sched_feat_enable(int i) { }; | 77 78#define jump_label_key__true STATIC_KEY_INIT_TRUE 79#define jump_label_key__false STATIC_KEY_INIT_FALSE 80 81#define SCHED_FEAT(name, enabled) \ 82 jump_label_key__##enabled , 83 84struct static_key sched_feat_keys[__SCHED_FEAT_NR] = { --- 9 unchanged lines hidden (view full) --- 94 95static void sched_feat_enable(int i) 96{ 97 static_key_enable_cpuslocked(&sched_feat_keys[i]); 98} 99#else 100static void sched_feat_disable(int i) { }; 101static void sched_feat_enable(int i) { }; |
102#endif /* HAVE_JUMP_LABEL */ | 102#endif /* CONFIG_JUMP_LABEL */ |
103 104static int sched_feat_set(char *cmp) 105{ 106 int i; 107 int neg = 0; 108 109 if (strncmp(cmp, "NO_", 3) == 0) { 110 neg = 1; --- 896 unchanged lines hidden --- | 103 104static int sched_feat_set(char *cmp) 105{ 106 int i; 107 int neg = 0; 108 109 if (strncmp(cmp, "NO_", 3) == 0) { 110 neg = 1; --- 896 unchanged lines hidden --- |