diff options
| author | wuchi <wuchi.zero@gmail.com> | 2022-09-01 08:31:21 +0800 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2022-09-11 21:55:12 -0700 |
| commit | 35783ccbe519b33f6652b2d7aafcfc82f10b1a1b (patch) | |
| tree | 4151d7f700814db069987529f6f13729a08197d7 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 63095f4f3af59322bea984a6ae44337439348fe0 (diff) | |
kernel/profile.c: simplify duplicated code in profile_setup()
The code to parse option string "schedule/sleep/kvm" of cmdline in
function profile_setup is redundant, so simplify that.
Link: https://lkml.kernel.org/r/20220901003121.53597-1-wuchi.zero@gmail.com
Signed-off-by: wuchi <wuchi.zero@gmail.com>
Reviewed-by: Andrew Morton <akpm@linux-foudation.org>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
