static int process_sched_wakeup_event(struct perf_tool *tool __maybe_unused,
struct event_format *event,
struct perf_sample *sample,
- struct machine *machine,
- struct thread *thread __maybe_unused)
+ struct machine *machine)
{
void *data = sample->raw_data;
struct trace_wakeup_event wakeup_event;
static int process_sched_switch_event(struct perf_tool *tool __maybe_unused,
struct event_format *event,
struct perf_sample *sample,
- struct machine *machine,
- struct thread *thread __maybe_unused)
+ struct machine *machine)
{
int this_cpu = sample->cpu, err = 0;
void *data = sample->raw_data;
static int process_sched_runtime_event(struct perf_tool *tool __maybe_unused,
struct event_format *event,
struct perf_sample *sample,
- struct machine *machine,
- struct thread *thread __maybe_unused)
+ struct machine *machine)
{
void *data = sample->raw_data;
struct trace_runtime_event runtime_event;
static int process_sched_fork_event(struct perf_tool *tool __maybe_unused,
struct event_format *event,
struct perf_sample *sample,
- struct machine *machine __maybe_unused,
- struct thread *thread __maybe_unused)
+ struct machine *machine __maybe_unused)
{
void *data = sample->raw_data;
struct trace_fork_event fork_event;
static int process_sched_exit_event(struct perf_tool *tool __maybe_unused,
struct event_format *event,
struct perf_sample *sample __maybe_unused,
- struct machine *machine __maybe_unused,
- struct thread *thread __maybe_unused)
+ struct machine *machine __maybe_unused)
{
if (verbose)
printf("sched_exit event %p\n", event);
static int process_sched_migrate_task_event(struct perf_tool *tool __maybe_unused,
struct event_format *event,
struct perf_sample *sample,
- struct machine *machine,
- struct thread *thread __maybe_unused)
+ struct machine *machine)
{
void *data = sample->raw_data;
struct trace_migrate_task_event migrate_task_event;
typedef int (*tracepoint_handler)(struct perf_tool *tool,
struct event_format *tp_format,
struct perf_sample *sample,
- struct machine *machine,
- struct thread *thread);
+ struct machine *machine);
static int perf_sched__process_tracepoint_sample(struct perf_tool *tool __maybe_unused,
union perf_event *event __maybe_unused,
if (evsel->handler.func != NULL) {
tracepoint_handler f = evsel->handler.func;
- err = f(tool, evsel->tp_format, sample, machine, thread);
+ err = f(tool, evsel->tp_format, sample, machine);
}
return err;