[PATCH v2 0/2] perf sched timehist: Add --show-prio & --prio option

Yang Jihong posted 2 patches 1 year, 4 months ago
tools/perf/Documentation/perf-sched.txt |   9 ++
tools/perf/builtin-sched.c              | 163 +++++++++++++++++++++++-
2 files changed, 165 insertions(+), 7 deletions(-)
[PATCH v2 0/2] perf sched timehist: Add --show-prio & --prio option
Posted by Yang Jihong 1 year, 4 months ago
This patch set adds --show-prio and --prio to show and filter task priorities.
Sometimes may only be interested in the scheduling of certain tasks
(such as RT tasks). Support for analyzing events of tasks with given priority(ies)
only.

Both options are disabled by default, consistent with the original behavior.

Changes since v1:
 - Rebase based on the latest perf-tools-next branch.
 - Enhance documentation's --prio entry, add a description of how to use multiple priorities. (suggested-by Namhyung)

Yang Jihong (2):
  perf sched timehist: Add --show-prio option
  perf sched timehist: Add --prio option

 tools/perf/Documentation/perf-sched.txt |   9 ++
 tools/perf/builtin-sched.c              | 163 +++++++++++++++++++++++-
 2 files changed, 165 insertions(+), 7 deletions(-)

-- 
2.25.1
Re: [PATCH v2 0/2] perf sched timehist: Add --show-prio & --prio option
Posted by Namhyung Kim 1 year, 4 months ago
On Sun, Aug 18, 2024 at 8:30 PM Yang Jihong <yangjihong@bytedance.com> wrote:
>
> This patch set adds --show-prio and --prio to show and filter task priorities.
> Sometimes may only be interested in the scheduling of certain tasks
> (such as RT tasks). Support for analyzing events of tasks with given priority(ies)
> only.
>
> Both options are disabled by default, consistent with the original behavior.
>
> Changes since v1:
>  - Rebase based on the latest perf-tools-next branch.
>  - Enhance documentation's --prio entry, add a description of how to use multiple priorities. (suggested-by Namhyung)
>
> Yang Jihong (2):
>   perf sched timehist: Add --show-prio option
>   perf sched timehist: Add --prio option

Acked-by: Namhyung Kim <namhyung@kernel.org>

Thanks,
Namhyung

>
>  tools/perf/Documentation/perf-sched.txt |   9 ++
>  tools/perf/builtin-sched.c              | 163 +++++++++++++++++++++++-
>  2 files changed, 165 insertions(+), 7 deletions(-)
>
> --
> 2.25.1
>
Re: [PATCH v2 0/2] perf sched timehist: Add --show-prio & --prio option
Posted by Arnaldo Carvalho de Melo 1 year, 3 months ago
On Mon, Aug 19, 2024 at 01:13:43PM -0700, Namhyung Kim wrote:
> On Sun, Aug 18, 2024 at 8:30 PM Yang Jihong <yangjihong@bytedance.com> wrote:
> >
> > This patch set adds --show-prio and --prio to show and filter task priorities.
> > Sometimes may only be interested in the scheduling of certain tasks
> > (such as RT tasks). Support for analyzing events of tasks with given priority(ies)
> > only.
> >
> > Both options are disabled by default, consistent with the original behavior.
> >
> > Changes since v1:
> >  - Rebase based on the latest perf-tools-next branch.
> >  - Enhance documentation's --prio entry, add a description of how to use multiple priorities. (suggested-by Namhyung)
> >
> > Yang Jihong (2):
> >   perf sched timehist: Add --show-prio option
> >   perf sched timehist: Add --prio option
> 
> Acked-by: Namhyung Kim <namhyung@kernel.org>

Thanks, applied to perf-tools-next,

- Arnaldo