aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/util/session.c
diff options
context:
space:
mode:
authorMadadi Vineeth Reddy <vineethr@linux.ibm.com>2024-09-17 14:31:00 +0530
committerNamhyung Kim <namhyung@kernel.org>2024-09-26 15:47:57 -0700
commit6adeb277fea06eeed3e9658a2e72573ac70fd011 (patch)
tree6a40608dd1aa3590a9eb5daa46b78f334bdb4e52 /tools/perf/util/session.c
parentlibperf: Explicitly specify install-html dependencies (diff)
downloadwireguard-linux-6adeb277fea06eeed3e9658a2e72573ac70fd011.tar.xz
wireguard-linux-6adeb277fea06eeed3e9658a2e72573ac70fd011.zip
perf sched replay: Remove unused parts of the code
The sleep_sem semaphore and the specific_wait field (member of sched_atom) are initialized but not used anywhere in the code, so this patch removes them. The SCHED_EVENT_MIGRATION case in perf_sched__process_event() is currently not used and is also removed. Additionally, prev_state in add_sched_event_sleep() is marked with __maybe_unused and is not utilized anywhere in the function. This patch removes the parameter. If the task_state parameter was intended for future use, it can be reintroduced when needed. No functionality change intended. Signed-off-by: Madadi Vineeth Reddy <vineethr@linux.ibm.com> Cc: Athira Rajeev <atrajeev@linux.vnet.ibm.com> Link: https://lore.kernel.org/r/20240917090100.42783-1-vineethr@linux.ibm.com Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/util/session.c')
0 files changed, 0 insertions, 0 deletions