Home
last modified time | relevance | path

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

/linux/tools/perf/util/scripting-engines/
H A Dtrace-event-python.c2000 FILE *ofp; in python_generate_script() local
2003 ofp = fopen(fname, "w"); in python_generate_script()
2004 if (ofp == NULL) { in python_generate_script()
2008 fprintf(ofp, "# perf script event handlers, " in python_generate_script()
2011 fprintf(ofp, "# Licensed under the terms of the GNU GPL" in python_generate_script()
2014 fprintf(ofp, "# The common_* event handler fields are the most useful " in python_generate_script()
2017 fprintf(ofp, "# all events. They don't necessarily correspond to " in python_generate_script()
2020 fprintf(ofp, "# in the format files. Those fields not available as " in python_generate_script()
2023 fprintf(ofp, "# be retrieved using Python functions of the form " in python_generate_script()
2026 fprintf(ofp, "# See the perf-script-python Documentation for the list " in python_generate_script()
[all …]
/linux/mm/
H A Dmemcontrol.c4257 struct cgroup_of_peak *ofp = of_peak(sf->private); in peak_show() local
4258 u64 fd_peak = READ_ONCE(ofp->value), peak; in peak_show()
4279 struct cgroup_of_peak *ofp = of_peak(of); in peak_open() local
4281 ofp->value = OFP_PEAK_UNSET; in peak_open()
4288 struct cgroup_of_peak *ofp = of_peak(of); in peak_release() local
4290 if (ofp->value == OFP_PEAK_UNSET) { in peak_release()
4295 list_del(&ofp->list); in peak_release()
4306 struct cgroup_of_peak *ofp = of_peak(of); in peak_write() local
4318 if (ofp->value == OFP_PEAK_UNSET) in peak_write()
4319 list_add(&ofp->list, watchers); in peak_write()
[all …]