summaryrefslogtreecommitdiffstats
path: root/drivers/message
diff options
context:
space:
mode:
authorMartin Liška <mliska@suse.cz>2022-08-12 13:40:49 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2022-08-12 10:27:21 -0300
commit1bf7d836e57ba4943e33e163e730cd77ab837572 (patch)
tree2534928a646d7cdc91302f4f8d24b5fbd51ca1f0 /drivers/message
parenta072a7a0263ddc723305dfd975f931bcea4e4f5b (diff)
downloadlinux-stable-1bf7d836e57ba4943e33e163e730cd77ab837572.tar.gz
linux-stable-1bf7d836e57ba4943e33e163e730cd77ab837572.tar.bz2
linux-stable-1bf7d836e57ba4943e33e163e730cd77ab837572.zip
perf record: Improve error message of -p not_existing_pid
When one uses -p $not_existing_pid, the output of --help is printed: $ perf record -p 123456789 2>&1 | head -n3 Usage: perf record [<options>] [<command>] or: perf record [<options>] -- <command> [<options>] Let's change it something similar what perf top -p $not_existing_pid prints: $ ./perf top -p 123456789 --stdio Error: Couldn't create thread/CPU maps: No such process Newly suggested error message: $ ./perf record -p 123456789 Couldn't create thread/CPU maps: No such process Signed-off-by: Martin Liška <mliska@suse.cz> Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com> Link: http://lore.kernel.org/lkml/8e00eda1-4de0-2c44-ce67-d4df48ac1f7c@suse.cz Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'drivers/message')
0 files changed, 0 insertions, 0 deletions