diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2015-04-09 18:53:54 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-04-29 10:37:55 -0300 |
commit | c3278f0231e833c6030c3aeab510415fdbbfd353 (patch) | |
tree | 7ec3f9c9bad02da9ec8a58590a3446ba720edec3 /kernel/compat.c | |
parent | 73f75fb1bdc572f97f1eb375f2bbb68cfcba077c (diff) | |
download | op-kernel-dev-c3278f0231e833c6030c3aeab510415fdbbfd353.zip op-kernel-dev-c3278f0231e833c6030c3aeab510415fdbbfd353.tar.gz |
perf auxtrace: Add a hashtable for caching
Decoding AUX area data may involve walking object code. Rather than
repetitively decoding the same instructions, a cache can be used to
cache the results.
This patch implements a fairly generic hashtable with a 32-bit key that
could be used for other purposes as well.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1428594864-29309-15-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'kernel/compat.c')
0 files changed, 0 insertions, 0 deletions