Home
last modified time | relevance | path

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

/linux/tools/perf/util/scripting-engines/
H A Dtrace-event-perl.c560 FILE *ofp; in perl_generate_script() local
563 ofp = fopen(fname, "w"); in perl_generate_script()
564 if (ofp == NULL) { in perl_generate_script()
569 fprintf(ofp, "# perf script event handlers, " in perl_generate_script()
572 fprintf(ofp, "# Licensed under the terms of the GNU GPL" in perl_generate_script()
575 fprintf(ofp, "# The common_* event handler fields are the most useful " in perl_generate_script()
578 fprintf(ofp, "# all events. They don't necessarily correspond to " in perl_generate_script()
581 fprintf(ofp, "# in the format files. Those fields not available as " in perl_generate_script()
584 fprintf(ofp, "# be retrieved using Perl functions of the form " in perl_generate_script()
587 fprintf(ofp, "# Se in perl_generate_script()
[all...]
H A Dtrace-event-python.c2035 FILE *ofp; in python_generate_script() local
2038 ofp = fopen(fname, "w"); in python_generate_script()
2039 if (ofp == NULL) { in python_generate_script()
2043 fprintf(ofp, "# perf script event handlers, " in python_generate_script()
2046 fprintf(ofp, "# Licensed under the terms of the GNU GPL" in python_generate_script()
2049 fprintf(ofp, "# The common_* event handler fields are the most useful " in python_generate_script()
2052 fprintf(ofp, "# all events. They don't necessarily correspond to " in python_generate_script()
2055 fprintf(ofp, "# in the format files. Those fields not available as " in python_generate_script()
2058 fprintf(ofp, "# be retrieved using Python functions of the form " in python_generate_script()
2061 fprintf(ofp, "# See the perf-script-python Documentation for the list " in python_generate_script()
[all …]
/linux/mm/
H A Dmemcontrol.c3928 struct cgroup_of_peak *ofp = of_peak(sf->private); in peak_show() local
3929 u64 fd_peak = READ_ONCE(ofp->value), peak; in peak_show()
3950 struct cgroup_of_peak *ofp = of_peak(of); in peak_open() local
3952 ofp->value = OFP_PEAK_UNSET; in peak_open()
3959 struct cgroup_of_peak *ofp = of_peak(of); in peak_release() local
3961 if (ofp->value == OFP_PEAK_UNSET) { in peak_release()
3966 list_del(&ofp->list); in peak_release()
3977 struct cgroup_of_peak *ofp = of_peak(of); in peak_write() local
3989 if (ofp->value == -1) in peak_write()
3990 list_add(&ofp->list, watchers); in peak_write()
[all …]