aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorJosh Triplett <[email protected]>2013-08-20 17:20:17 -0700
committerLen Brown <[email protected]>2014-01-18 22:34:09 -0500
commit57a42a34d126f2fe5d1f2f120c5f7a31ec65cd31 (patch)
treed646c40a4e06e7737b12bcddbe4ac9796f748bbf /tools/perf/util/trace-event-scripting.c
parent95aebc44e73b05d4e95774b983a63909de638808 (diff)
turbostat: Factor out common function to open file and exit on failure
Several different functions in turbostat contain the same pattern of opening a file and exiting on failure. Factor out a common fopen_or_die function for that. Signed-off-by: Josh Triplett <[email protected]> Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions