linux/tools/lib/api
Kan Liang 3b00ea9386 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 <Kan.liang@intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Kan Liang <kan.liang@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Robert Elliott <elliott@hpe.com>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1495825538-5230-2-git-send-email-kan.liang@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2017-06-21 11:35:27 -03:00
..
fd tools lib fd array: Allow associating a pointer cookie with each entry 2016-07-15 17:27:46 -03:00
fs tools lib api fs: Add sysfs__write_int function 2017-06-21 11:35:27 -03:00
Build tools lib api: Add str_error_c to libapi 2016-07-27 17:16:43 -03:00
cpu.c tools lib api cpu: Introduce cpu.[ch] to obtain cpu related information 2015-09-14 12:50:26 -03:00
cpu.h tools lib api cpu: Introduce cpu.[ch] to obtain cpu related information 2015-09-14 12:50:26 -03:00
debug-internal.h tools lib api: Add debug output support 2016-02-16 17:12:56 -03:00
debug.c tools lib api: Add debug output support 2016-02-16 17:12:56 -03:00
debug.h tools lib api: Add debug output support 2016-02-16 17:12:56 -03:00
Makefile tools: Set the maximum optimization level according to the compiler being used 2017-02-14 10:55:27 -03:00