mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-26 14:17:26 -04:00
perf/trace/scripting: don't show script start/stop messages by default
Only print the script start/stop messages in verbose mode - users normally don't care and it just clutters up the output. Cc: Frédéric Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> LKML-Reference: <1273466820-9330-7-git-send-email-tzanussi@gmail.com> Signed-off-by: Tom Zanussi <tzanussi@gmail.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
a3412d9b35
commit
3824a4e8da
3 changed files with 3 additions and 7 deletions
|
@ -374,8 +374,6 @@ static int python_start_script(const char *script, int argc, const char **argv)
|
|||
}
|
||||
|
||||
free(command_line);
|
||||
fprintf(stderr, "perf trace started with Python script %s\n\n",
|
||||
script);
|
||||
|
||||
return err;
|
||||
error:
|
||||
|
@ -407,8 +405,6 @@ out:
|
|||
Py_XDECREF(main_module);
|
||||
Py_Finalize();
|
||||
|
||||
fprintf(stderr, "\nperf trace Python script stopped\n");
|
||||
|
||||
return err;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue