Home
last modified time | relevance | path

Searched refs:ofp (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/tools/perf/util/scripting-engines/
Dtrace-event-perl.c547 FILE *ofp; in perl_generate_script() local
550 ofp = fopen(fname, "w"); in perl_generate_script()
551 if (ofp == NULL) { in perl_generate_script()
556 fprintf(ofp, "# perf script event handlers, " in perl_generate_script()
559 fprintf(ofp, "# Licensed under the terms of the GNU GPL" in perl_generate_script()
562 fprintf(ofp, "# The common_* event handler fields are the most useful " in perl_generate_script()
565 fprintf(ofp, "# all events. They don't necessarily correspond to " in perl_generate_script()
568 fprintf(ofp, "# in the format files. Those fields not available as " in perl_generate_script()
571 fprintf(ofp, "# be retrieved using Perl functions of the form " in perl_generate_script()
574 fprintf(ofp, "# See Context.pm for the list of available " in perl_generate_script()
[all …]
Dtrace-event-python.c1697 FILE *ofp; in python_generate_script() local
1700 ofp = fopen(fname, "w"); in python_generate_script()
1701 if (ofp == NULL) { in python_generate_script()
1705 fprintf(ofp, "# perf script event handlers, " in python_generate_script()
1708 fprintf(ofp, "# Licensed under the terms of the GNU GPL" in python_generate_script()
1711 fprintf(ofp, "# The common_* event handler fields are the most useful " in python_generate_script()
1714 fprintf(ofp, "# all events. They don't necessarily correspond to " in python_generate_script()
1717 fprintf(ofp, "# in the format files. Those fields not available as " in python_generate_script()
1720 fprintf(ofp, "# be retrieved using Python functions of the form " in python_generate_script()
1723 fprintf(ofp, "# See the perf-script-python Documentation for the list " in python_generate_script()
[all …]