Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 191340
b: refs/heads/master
c: 3824a4e
h: refs/heads/master
v: v3
  • Loading branch information
Tom Zanussi authored and Arnaldo Carvalho de Melo committed May 10, 2010
1 parent 1d7411d commit 222a581
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a3412d9b358d37fce4527fd67ea601635f2b9496
refs/heads/master: 3824a4e8da9791f4eed99d69bfcdb3b42f440426
3 changes: 3 additions & 0 deletions trunk/tools/perf/builtin-trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ static void setup_scripting(void)

static int cleanup_scripting(void)
{
pr_debug("\nperf trace script stopped\n");

return scripting_ops->stop_script();
}

Expand Down Expand Up @@ -703,6 +705,7 @@ int cmd_trace(int argc, const char **argv, const char *prefix __used)
err = scripting_ops->start_script(script_name, argc, argv);
if (err)
goto out;
pr_debug("perf trace started with script %s\n\n", script_name);
}

err = __cmd_trace(session);
Expand Down
3 changes: 0 additions & 3 deletions trunk/tools/perf/util/scripting-engines/trace-event-perl.c
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,6 @@ static int perl_start_script(const char *script, int argc, const char **argv)
run_start_sub();

free(command_line);
fprintf(stderr, "perf trace started with Perl script %s\n\n", script);
return 0;
error:
perl_free(my_perl);
Expand All @@ -394,8 +393,6 @@ static int perl_stop_script(void)
perl_destruct(my_perl);
perl_free(my_perl);

fprintf(stderr, "\nperf trace Perl script stopped\n");

return 0;
}

Expand Down
4 changes: 0 additions & 4 deletions trunk/tools/perf/util/scripting-engines/trace-event-python.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -407,8 +405,6 @@ static int python_stop_script(void)
Py_XDECREF(main_module);
Py_Finalize();

fprintf(stderr, "\nperf trace Python script stopped\n");

return err;
}

Expand Down

0 comments on commit 222a581

Please sign in to comment.