diff options
author | Kan Liang <[email protected]> | 2017-05-26 12:05:37 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-06-21 11:35:27 -0300 |
commit | 3b00ea938653d136c8e4bcbe9722d954e128ce2e (patch) | |
tree | 6af90bcd4ad08b97c26579890f57b11ac332a3e2 /lib/dynamic_queue_limits.c | |
parent | fd25bf8b8c577aef8c0156eddaf63f3e862c659c (diff) |
tools lib api fs: Add sysfs__write_int function
Add sysfs__write_int() to ease up writing int to sysfs. New interface
is:
int sysfs__write_int(const char *entry, int value);
Also, introducing filename__write_int() which is useful for new helpers
to write sysctl values.
Signed-off-by: Kan Liang <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Robert Elliott <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'lib/dynamic_queue_limits.c')
0 files changed, 0 insertions, 0 deletions