projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
instrumentation: v4l2: remove compatibility code
[lttng-modules.git]
/
lttng-context-perf-counters.c
diff --git
a/lttng-context-perf-counters.c
b/lttng-context-perf-counters.c
index 8625842cd171158aba762061fbca4853c8e7a9f7..096189e14d11ead2c08feaf1fbff4ba8dbfb3e67 100644
(file)
--- a/
lttng-context-perf-counters.c
+++ b/
lttng-context-perf-counters.c
@@
-16,7
+16,6
@@
#include <linux/mm.h>
#include <lttng-events.h>
#include <wrapper/ringbuffer/frontend_types.h>
#include <linux/mm.h>
#include <lttng-events.h>
#include <wrapper/ringbuffer/frontend_types.h>
-#include <wrapper/perf.h>
#include <lttng-tracer.h>
static
#include <lttng-tracer.h>
static
@@
-122,8
+121,8
@@
int lttng_cpuhp_perf_counter_online(unsigned int cpu,
struct perf_event_attr *attr = perf_field->attr;
struct perf_event *pevent;
struct perf_event_attr *attr = perf_field->attr;
struct perf_event *pevent;
- pevent =
wrapper_
perf_event_create_kernel_counter(attr,
- cpu, NULL, overflow_callback);
+ pevent = perf_event_create_kernel_counter(attr,
+ cpu, NULL, overflow_callback
, NULL
);
if (!pevent || IS_ERR(pevent))
return -EINVAL;
if (pevent->state == PERF_EVENT_STATE_ERROR) {
if (!pevent || IS_ERR(pevent))
return -EINVAL;
if (pevent->state == PERF_EVENT_STATE_ERROR) {
@@
-184,8
+183,8
@@
int lttng_perf_counter_cpu_hp_callback(struct notifier_block *nb,
switch (action) {
case CPU_ONLINE:
case CPU_ONLINE_FROZEN:
switch (action) {
case CPU_ONLINE:
case CPU_ONLINE_FROZEN:
- pevent =
wrapper_
perf_event_create_kernel_counter(attr,
- cpu, NULL, overflow_callback);
+ pevent = perf_event_create_kernel_counter(attr,
+ cpu, NULL, overflow_callback
, NULL
);
if (!pevent || IS_ERR(pevent))
return NOTIFY_BAD;
if (pevent->state == PERF_EVENT_STATE_ERROR) {
if (!pevent || IS_ERR(pevent))
return NOTIFY_BAD;
if (pevent->state == PERF_EVENT_STATE_ERROR) {
@@
-290,8
+289,8
@@
int lttng_add_perf_counter_to_ctx(uint32_t type,
#endif
get_online_cpus();
for_each_online_cpu(cpu) {
#endif
get_online_cpus();
for_each_online_cpu(cpu) {
- events[cpu] =
wrapper_
perf_event_create_kernel_counter(attr,
- cpu, NULL, overflow_callback);
+ events[cpu] = perf_event_create_kernel_counter(attr,
+ cpu, NULL, overflow_callback
, NULL
);
if (!events[cpu] || IS_ERR(events[cpu])) {
ret = -EINVAL;
goto counter_error;
if (!events[cpu] || IS_ERR(events[cpu])) {
ret = -EINVAL;
goto counter_error;
This page took
0.023757 seconds
and
4
git commands to generate.