projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lttng-events.h: remove cpu hotplug compatibility code
[lttng-modules.git]
/
lttng-events.h
diff --git
a/lttng-events.h
b/lttng-events.h
index 52402198b48c4b932de1008a35e15aeaed43d1e5..697753074424adafb676fe8178ef55456fba39fd 100644
(file)
--- a/
lttng-events.h
+++ b/
lttng-events.h
@@
-156,13
+156,8
@@
union lttng_ctx_value {
* lttng_ctx_field because cpu hotplug needs fixed-location addresses.
*/
struct lttng_perf_counter_field {
* lttng_ctx_field because cpu hotplug needs fixed-location addresses.
*/
struct lttng_perf_counter_field {
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,10,0))
struct lttng_cpuhp_node cpuhp_prepare;
struct lttng_cpuhp_node cpuhp_online;
struct lttng_cpuhp_node cpuhp_prepare;
struct lttng_cpuhp_node cpuhp_online;
-#else
- struct notifier_block nb;
- int hp_enable;
-#endif
struct perf_event_attr *attr;
struct perf_event **e; /* per-cpu array */
};
struct perf_event_attr *attr;
struct perf_event **e; /* per-cpu array */
};
This page took
0.029072 seconds
and
4
git commands to generate.