]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf sched timehist: Remove redundant BUG_ON in timehist_sched_change_event()
authorYang Jihong <yangjihong@bytedance.com>
Mon, 12 Aug 2024 13:26:06 +0000 (21:26 +0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 3 Sep 2024 18:44:22 +0000 (15:44 -0300)
commitb93fb9cf45a99042f4472678fc67afd1de47c32e
treea47b2b2f9e4dd32f5550a130fe980a7fd11c7f51
parent575eec218059f90bf07a4e26b531fd6d54fe1769
perf sched timehist: Remove redundant BUG_ON in timehist_sched_change_event()

The BUG_ON(thread__tid(thread) != 0) in timehist_sched_change_event() is
redundant, remove it.

No functional change.

Fixes: 07235f84ece6b66f ("perf sched timehist: Add -I/--idle-hist option")
Reviewed-by: Madadi Vineeth Reddy <vineethr@linux.ibm.com>
Signed-off-by: Yang Jihong <yangjihong@bytedance.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: James Clark <james.clark@arm.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20240812132606.3126490-2-yangjihong@bytedance.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-sched.c