summaryrefslogtreecommitdiff
path: root/reference/C/CONTRIB/OR_PRACTICAL_C/16_1.c
blob: 6f2c0f2b9519e445305721e3712be3e2127234ea (plain)
1
2
3
4
5
6
#include <stdlib.h>     /* using ANSI C standard libraries */
main()
{
    char *string_ptr;

    string_ptr = malloc(80);
ommit info' class='commit-info'> authorIngo Molnar <mingo@kernel.org>2016-07-05 12:13:14 +0200 committerIngo Molnar <mingo@kernel.org>2016-07-05 12:13:14 +0200 commitc50f62454f4b489422333cb2e31401d87456bfa1 (patch) tree971f2672735854fedc2d16acfbbae3a5b80be7f8 /tools/arch/x86 parentdc29bb47a34130459fadd58f05e2acd051a6327d (diff)parentf3d082ceabe53177c98bfa4580a294c2844966e8 (diff)
Merge tag 'perf-core-for-mingo-20160704' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
Pull perf/core improvements and fixes from Arnaldo Carvalho de Melo: Documentation changes: - Update android build documentation (Chris Phlipot) Infrastructure changes: - Respect WERROR=0 in libapi and libsubcmd, to allow building on Android (Chris Phlipot) - Prep work to support SDT events in probe cache (Masami Hiramatsu) - ELF support for SDT (Hemant Kumar) - Add feature detection for libelf's elf_getshdrstrndx function (Arnaldo Carvalho de Melo) - Fix hist accumulation test (Jiri Olsa) - Unwind callchain fixes (Jiri Olsa) - Change internal representation of numa nodes obtained from perf.data header (Jiri Olsa) - Sync copy of syscall_64.tbl with the kernel (Arnaldo Carvalho de Melo) - Add LGPL 2.1 license header to libbpf source files (Wang Nan) Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/arch/x86')