Skip to content
Snippets Groups Projects
Commit e50c1e92 authored by T.J. Mercier's avatar T.J. Mercier
Browse files

Revert "ANDROID: cgroup: Add vendor hook to the cgroup"


This reverts commit 7d91e4ee.

Change-Id: Id28ff300b0141f07848a7c14e2dcb6fe734e4b15
Signed-off-by: default avatarT.J. Mercier <tjmercier@google.com>
parent e63efd43
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,6 @@ EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_ufs_prepare_command);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_ufs_update_sysfs);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_ufs_send_command);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_ufs_compl_command);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_cgroup_set_task);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_syscall_prctl_finished);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_ufs_send_uic_command);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_ufs_send_tm_command);
......
......@@ -7,14 +7,9 @@
#define _TRACE_HOOK_CGROUP_H
#include <trace/hooks/vendor_hooks.h>
struct task_struct;
struct cgroup_taskset;
struct cgroup_subsys;
struct cgroup_subsys_state;
DECLARE_HOOK(android_vh_cgroup_set_task,
TP_PROTO(int ret, struct task_struct *task),
TP_ARGS(ret, task));
DECLARE_HOOK(android_vh_cgroup_attach,
TP_PROTO(struct cgroup_subsys *ss, struct cgroup_taskset *tset),
TP_ARGS(ss, tset));
......
......@@ -17,7 +17,6 @@
#include <linux/fs_parser.h>
#include <trace/events/cgroup.h>
#include <trace/hooks/cgroup.h>
/*
* pidlists linger the following amount before being destroyed. The goal
......@@ -528,7 +527,6 @@ static ssize_t __cgroup1_procs_write(struct kernfs_open_file *of,
goto out_finish;
ret = cgroup_attach_task(cgrp, task, threadgroup);
trace_android_vh_cgroup_set_task(ret, task);
out_finish:
cgroup_procs_write_finish(task, locked);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment